Skip to content

Commit 5c8f9b6

Browse files
authored
CI/publish_deb: run iff a tag is pushed (#1430)
1 parent c5fdbb5 commit 5c8f9b6

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

.github/workflows/publish_deb.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@ name: Publish deb package
22

33
on:
44
push:
5-
branches:
6-
- dev
7-
pull_request:
8-
branches:
9-
- dev
5+
branches: dev
6+
tags: v*
107

118
jobs:
129

@@ -17,7 +14,6 @@ jobs:
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 }}
@@ -45,14 +41,7 @@ jobs:
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 }}

0 commit comments

Comments
 (0)