|
6 | 6 | Linux: |
7 | 7 | runs-on: ubuntu-20.04 |
8 | 8 | steps: |
9 | | - - name: Creating Release... |
| 9 | + - name: Creating contiguous... |
10 | 10 | uses: ncipollo/release-action@v1 |
11 | 11 | if: github.ref_name == 'master' |
12 | 12 | with: |
|
17 | 17 | prerelease: true |
18 | 18 | allowUpdates: true |
19 | 19 | removeArtifacts: true |
| 20 | + - name: Creating release... |
| 21 | + uses: ncipollo/release-action@v1 |
| 22 | + if: github.ref_type == 'tag' |
| 23 | + with: |
| 24 | + token: ${{ secrets.GITHUB_TOKEN }} |
| 25 | + omitBody: true |
| 26 | + omitName: true |
| 27 | + allowUpdates: true |
| 28 | + removeArtifacts: true |
| 29 | + makeLatest: true |
20 | 30 | - name: Install Dependencies... |
21 | 31 | run: sudo apt-get -y install qt5-default qttools5-dev qttools5-dev-tools libgtk2.0-dev libfuse-dev libmagic-dev libtag1-dev libssl-dev ninja-build cmake |
22 | 32 | - name: Checking out sources... |
|
38 | 48 | export VERSION=$(git rev-parse --short HEAD) |
39 | 49 | ./linuxdeployqt-continuous-x86_64.AppImage build/appdir/usr/share/applications/*.desktop -bundle-non-qt-libs -appimage |
40 | 50 | find build/appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq |
41 | | - - name: Uploading Artifacts... |
| 51 | + - name: Uploading contiguous artifacts... |
42 | 52 | uses: ncipollo/release-action@v1 |
43 | 53 | if: github.ref_name == 'master' |
44 | 54 | with: |
|
48 | 58 | token: ${{ secrets.GITHUB_TOKEN }} |
49 | 59 | artifacts: ./Android*.AppImage* |
50 | 60 | tag: continuous |
| 61 | + - name: Uploading release artifacts... |
| 62 | + uses: ncipollo/release-action@v1 |
| 63 | + if: github.ref_type == 'tag' |
| 64 | + with: |
| 65 | + allowUpdates: true |
| 66 | + omitBody: true |
| 67 | + omitName: true |
| 68 | + token: ${{ secrets.GITHUB_TOKEN }} |
| 69 | + artifacts: ./Android*.AppImage* |
51 | 70 | MacOSX: |
52 | 71 | runs-on: macos-latest |
53 | 72 | steps: |
|
69 | 88 | git clone https://github.com/andreyvit/create-dmg.git |
70 | 89 | cd create-dmg |
71 | 90 | ./create-dmg --volicon "../osx/android-file-transfer.icns" --icon-size 96 --icon "Android File Transfer for Linux" 110 100 --app-drop-link 380 100 AndroidFileTransferForLinux.dmg ../appdir/Android\ File\ Transfer\ for\ Linux.app |
72 | | - - name: Uploading Artifacts... |
| 91 | + - name: Uploading contiguous artifacts... |
73 | 92 | uses: ncipollo/release-action@v1 |
74 | 93 | if: github.ref_name == 'master' |
75 | 94 | with: |
|
79 | 98 | token: ${{ secrets.GITHUB_TOKEN }} |
80 | 99 | artifacts: create-dmg/*.dmg |
81 | 100 | tag: continuous |
| 101 | + |
| 102 | + - name: Uploading contiguous artifacts... |
| 103 | + uses: ncipollo/release-action@v1 |
| 104 | + if: github.ref_type == 'tag' |
| 105 | + with: |
| 106 | + allowUpdates: true |
| 107 | + omitBody: true |
| 108 | + omitName: true |
| 109 | + token: ${{ secrets.GITHUB_TOKEN }} |
| 110 | + artifacts: create-dmg/*.dmg |
0 commit comments