Skip to content

Commit

Permalink
ci(pull-request): fix bundle job
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeratoxx committed Mar 2, 2024
1 parent 432d099 commit cb529e4
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/pull-request-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,10 @@ jobs:
echo "event ref_name: ${{ github.event.after }}"
bundle:
runs-on: ubuntu-22.04
# Triggers the workflow on events of pull requests with the default branch as the target
if: github.base_ref == github.event.repository.default_branch
steps:
- name: Set variable for pull request version
run: |
echo "PR_VERSION=snapshot-pr-#${{ github.event.pull_request.number }}" >> $GITHUB_ENV
- name: Bundle snapshot
uses: ./.github/workflows/bundle.yml
with:
version: ${{ env.PR_VERSION }}
retention-days: 8
name: Bundle version snapshot-pr-#${{ github.event.pull_request.number }}
uses: ./.github/workflows/bundle.yml
with:
version: snapshot-pr-#${{ github.event.pull_request.number }}
retention-days: 8

0 comments on commit cb529e4

Please sign in to comment.