File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,11 +2,8 @@ name: Publish deb package
22
33on :
44 push :
5- branches :
6- - dev
7- pull_request :
8- branches :
9- - dev
5+ branches : dev
6+ tags : v*
107
118jobs :
129
1714 steps :
1815 - name : Create release
1916 id : create_release
20- if : startsWith(github.ref, 'refs/tags/v')
2117 uses : actions/create-release@v1
2218 env :
2319 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4541 working-directory : panda/debian
4642 run : ./setup.sh Ubuntu ${{ matrix.ubuntu_version }}
4743
48- - name : Upload to artifacts
49- uses : actions/upload-artifact@v4
50- with :
51- name : pandare_${{ matrix.ubuntu_version }}.deb
52- path : panda/debian/pandare.deb
53-
5444 - name : Upload to release
55- if : startsWith(github.ref, 'refs/tags/v')
5645 uses : actions/upload-release-asset@v1
5746 env :
5847 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments