File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 outputs :
88 name :
99 description : " The artifact name"
10- value : ${{ jobs.build_ubuntu .outputs.name }}
10+ value : ${{ jobs.build_appimage .outputs.name }}
1111
1212env :
1313 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 66 outputs :
77 name :
88 description : " The artifact name"
9- value : ${{ jobs.build_android .outputs.name }}
9+ value : ${{ jobs.build_flatpak .outputs.name }}
1010
1111jobs :
1212 build_flatpak :
1919 os : ubuntu-24.04-arm
2020
2121 env :
22- artifact_name : RabbitRemoteControl
22+ artifact_name : build_flatpak
2323 RabbitRemoteControl_VERSION : v0.0.36
2424
2525 # See: [About GitHub-hosted runners](https://docs.github.com/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners)
Original file line number Diff line number Diff line change 77 outputs :
88 name :
99 description : " The artifact name"
10- value : ${{ jobs.build_ubuntu .outputs.name }}
10+ value : ${{ jobs.build_linux .outputs.name }}
1111
1212env :
1313 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 1+ # Author: Kang Lin <kl222@126.com>
2+
3+ name : snap
4+ on : push
5+ jobs :
6+ build_snap :
7+ env :
8+ artifact_name : build_snap
9+ RabbitRemoteControl_VERSION : v0.0.36
10+
11+ # See: [About GitHub-hosted runners](https://docs.github.com/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners)
12+ # See: [Choosing the runner for a job](https://docs.github.com/actions/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job)
13+ # See: https://github.com/actions/runner-images/
14+ runs-on : ubuntu-latest
15+
16+ # Map the job outputs to step outputs
17+ outputs :
18+ name : ${{ env.artifact_name }}
19+
20+ steps :
21+ - name : Check out Git repository
22+ uses : actions/checkout@v3
23+
24+ - name : Install Snapcraft
25+ uses : samuelmeuli/action-snapcraft@v3
26+
27+ # You can now run Snapcraft shell commands
28+ - name : Use Snapcraft
29+ run : snapcraft -v --debug
30+
31+ - name : Update artifact
32+ uses : actions/upload-artifact@v4
33+ with :
34+ name : ${{ env.artifact_name }}
35+ path : |
36+ ${{github.workspace}}/*.snap
You can’t perform that action at this time.
0 commit comments