Skip to content

Commit

Permalink
fix: don't run deb scripts in PR (#2232)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandagg authored Feb 2, 2023
1 parent d0f9234 commit 447c324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
working-directory: /

pack_deb:
if: github.ref == 'refs/heads/master' || github.ref_type == 'tag' && startsWith(github.ref_name, 'v' )
runs-on: ubuntu-latest
env:
HEROKU_AUTHOR: 'Heroku'
Expand All @@ -68,12 +69,12 @@ jobs:
- name: Building deb
run: ./scripts/pack/deb
- uses: actions/upload-artifact@v3
if: github.ref == 'refs/heads/master' || github.ref_type == 'tag' && startsWith(github.ref_name, 'v' )
with:
name: packed-deb
path: /home/runner/work/cli/cli/packages/cli/dist

pack_tarballs:
if: github.ref == 'refs/heads/master' || github.ref_type == 'tag' && startsWith(github.ref_name, 'v' )
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -90,7 +91,6 @@ jobs:
- name: Building tarballs
run: ./scripts/pack/tarballs
- uses: actions/upload-artifact@v3
if: github.ref == 'refs/heads/master' || github.ref_type == 'tag' && startsWith(github.ref_name, 'v' )
with:
name: packed-tarballs
path: /home/runner/work/cli/cli/packages/cli/dist
Expand Down

0 comments on commit 447c324

Please sign in to comment.