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+
5+ on : push
6+
7+ jobs :
8+ build_snap :
9+ env :
10+ artifact_name : build_snap
11+ RabbitRemoteControl_VERSION : v0.0.36
12+
13+ # See: [About GitHub-hosted runners](https://docs.github.com/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners)
14+ # 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)
15+ # See: https://github.com/actions/runner-images/
16+ runs-on : ubuntu-latest
17+
18+ # Map the job outputs to step outputs
19+ outputs :
20+ name : ${{ env.artifact_name }}
21+
22+ steps :
23+ - name : Check out Git repository
24+ uses : actions/checkout@v3
25+
26+ - name : Install Snapcraft
27+ uses : samuelmeuli/action-snapcraft@v3
28+
29+ # You can now run Snapcraft shell commands
30+ - name : Use Snapcraft
31+ run : snapcraft -v --debug
32+
33+ - name : Update artifact
34+ uses : actions/upload-artifact@v4
35+ with :
36+ name : ${{ env.artifact_name }}
37+ path : |
38+ ${{github.workspace}}/*.snap
You can’t perform that action at this time.
0 commit comments