|
9 | 9 |
|
10 | 10 | jobs: |
11 | 11 |
|
12 | | -# linux: |
13 | | -# runs-on: ubuntu-latest |
14 | | -## container: debian:buster-slim |
15 | | -# |
16 | | -# steps: |
17 | | -# |
18 | | -# - uses: actions/checkout@v2 |
19 | | -# |
20 | | -# - name: Execute script to build linux AppImage |
21 | | -# run: "build/linux/buildAppImage.sh" |
22 | | -# shell: bash |
23 | | -# |
24 | | -# - uses: actions/upload-artifact@v2 |
25 | | -# with: |
26 | | -# name: helloWorld-linux-x86_64 |
27 | | -# path: dist/ |
28 | | -# |
29 | | -# - name: Create dist tarball |
30 | | -# run: 'tar -cjvf helloWorld-linux-x86_64.${{ github.run_id }}.tar.bz2 dist/*' |
31 | | -# shell: bash |
32 | | -# |
33 | | -# - name: Create Release |
34 | | -# id: create_release |
35 | | -# uses: actions/create-release@v1 |
36 | | -# env: |
37 | | -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
38 | | -# with: |
39 | | -# tag_name: ${{ github.run_id }} |
40 | | -# release_name: Public Build Artifact ${{ github.run_id }} |
41 | | -# draft: false |
42 | | -# prerelease: true |
43 | | -# |
44 | | -# - name: Upload Release Asset |
45 | | -# id: upload-release-asset |
46 | | -# uses: actions/upload-release-asset@v1 |
47 | | -# env: |
48 | | -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
49 | | -# with: |
50 | | -# upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps |
51 | | -# asset_path: helloWorld-linux-x86_64.${{ github.run_id }}.tar.bz2 |
52 | | -# asset_name: helloWorld-linux-x86_64.${{ github.run_id }}.tar.bz2 |
53 | | -# asset_content_type: application/x-bzip2 |
| 12 | + linux: |
| 13 | + runs-on: ubuntu-latest |
| 14 | +# container: debian:buster-slim |
| 15 | + |
| 16 | + steps: |
| 17 | + |
| 18 | + - uses: actions/checkout@v2 |
| 19 | + |
| 20 | + - name: Execute script to build linux AppImage |
| 21 | + run: "build/linux/buildAppImage.sh" |
| 22 | + shell: bash |
| 23 | + |
| 24 | + - uses: actions/upload-artifact@v2 |
| 25 | + with: |
| 26 | + name: helloWorld-linux-x86_64 |
| 27 | + path: dist/ |
| 28 | + |
| 29 | + - name: Create dist tarball |
| 30 | + run: 'tar -cjvf helloWorld-linux-x86_64.${{ github.run_id }}.tar.bz2 dist/*' |
| 31 | + shell: bash |
| 32 | + |
| 33 | + - name: Create Release |
| 34 | + id: create_release |
| 35 | + uses: actions/create-release@v1 |
| 36 | + env: |
| 37 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 38 | + with: |
| 39 | + tag_name: ${{ github.run_id }} |
| 40 | + release_name: Public Build Artifact ${{ github.run_id }} |
| 41 | + draft: false |
| 42 | + prerelease: true |
| 43 | + |
| 44 | + - name: Upload Release Asset |
| 45 | + id: upload-release-asset |
| 46 | + uses: actions/upload-release-asset@v1 |
| 47 | + env: |
| 48 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 49 | + with: |
| 50 | + upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps |
| 51 | + asset_path: helloWorld-linux-x86_64.${{ github.run_id }}.tar.bz2 |
| 52 | + asset_name: helloWorld-linux-x86_64.${{ github.run_id }}.tar.bz2 |
| 53 | + asset_content_type: application/x-bzip2 |
54 | 54 |
|
55 | 55 | windows: |
56 | 56 | runs-on: windows-latest |
|
0 commit comments