Skip to content

Commit

Permalink
feat: extend workflow to PRs
Browse files Browse the repository at this point in the history
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
  • Loading branch information
kbdharun committed Jul 24, 2024
1 parent edc11df commit 4908382
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Build
on:
push:
branches: [ "main" ]
pull_request:

jobs:
build:
Expand All @@ -29,8 +30,15 @@ jobs:
run: |
dpkg-buildpackage --no-sign
mv ../*.deb ../base-files.deb
- uses: actions/upload-artifact@v4
with:
name: base-files
path: |
/__w/base-files/base-files.deb
- uses: softprops/action-gh-release@v1
if: github.ref == 'refs/heads/main'
with:
token: "${{ secrets.GITHUB_TOKEN }}"
tag_name: "continuous"
Expand Down

0 comments on commit 4908382

Please sign in to comment.