Skip to content

Commit

Permalink
fix(ci): set up correct (?) condition to trigger publish
Browse files Browse the repository at this point in the history
  • Loading branch information
paambaati authored Apr 21, 2023
1 parent 5300646 commit 3e9c9ce
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,11 @@ jobs:
echo "Last release version = ${{ steps.last-release.outputs.release }}"
echo "Next release version = ${{ steps.next-release.outputs.new-release-version }}"
debug:
name: Debug
runs-on: ubuntu-latest
needs: next-version
steps:
- name: print outputs
run: |
echo "Last release version = ${{ needs.next-version.outputs.last-release-version }}"
echo "Next release version = ${{ needs.next-version.outputs.new-release-version }}"
release:
name: Cut a release on GitHub
runs-on: ubuntu-latest
needs: next-version
if: needs.next-version.outputs.new-release-version == needs.next-version.outputs.last-release-version
if: needs.next-version.outputs.new-release-version != needs.next-version.outputs.last-release-version
steps:
- name: checkout code
uses: actions/checkout@v3
Expand Down

0 comments on commit 3e9c9ce

Please sign in to comment.