Skip to content

Commit

Permalink
fix: upload debian package to release
Browse files Browse the repository at this point in the history
  • Loading branch information
hnicke committed Aug 5, 2021
1 parent fadba8e commit dfe0522
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/downstream.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: downstream packaging

on:
pull_request:
branches: [ master ]
push:
tags:
- 'v*'
Expand Down Expand Up @@ -52,4 +50,11 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: debian-package
path: packaging/deb/build
path: packaging/deb/build

- name: upload debian package to release
uses: Roang-zero1/github-upload-release-artifacts-action@master
with:
args: packaging/deb/build/*.deb
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: release
on:
push:
branches: [ master ]
branches:
- master
jobs:
release:
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, 'chore(release):')
Expand Down

0 comments on commit dfe0522

Please sign in to comment.