Skip to content

Commit

Permalink
test a master-branch release
Browse files Browse the repository at this point in the history
  • Loading branch information
scottaubrey committed Oct 25, 2024
1 parent 73c4dcf commit e36b36b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
id: trunkver
uses: crftd-tech/trunkver@main
with:
prerelease: ${{ github.ref == 'refs/heads/master' && 'false' || 'true' }}
prerelease: ${{ github.ref == 'refs/pull/260/merge' && 'false' || 'true' }}
tests:
runs-on: ubuntu-latest
steps:
Expand All @@ -38,10 +38,10 @@ jobs:
build-and-push:
needs: [generate-version, tests]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
# if: github.ref == 'refs/heads/master'
env:
IMAGE_REPO: ghcr.io/elifesciences/api-dummy
IMAGE_TAG: ${{ github.ref == 'refs/heads/master' && needs.generate-version.outputs.trunkver || format('{0}-{1}', github.head_ref || github.ref_name, needs.generate-version.outputs.trunkver) }}
IMAGE_TAG: ${{ github.ref == 'refs/pull/260/merge' && needs.generate-version.outputs.trunkver || format('{0}-{1}', github.head_ref || github.ref_name, needs.generate-version.outputs.trunkver) }}
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
Expand Down

0 comments on commit e36b36b

Please sign in to comment.