Skip to content

Commit

Permalink
Verifying logic correctness
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveKeehl committed Apr 7, 2024
1 parent c024bfd commit 7d16347
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: 'Test'

on: [push]

env:
OLD_VERSION: 1.0.4
NEW_VERSION: 1.0.5

jobs:
check-version:
runs-on: ubuntu-latest
Expand All @@ -24,7 +28,7 @@ jobs:
uses: 'WyriHaximus/github-action-get-previous-tag@v1'

- name: Check for new version
if: ${{ steps.package-version.outputs.current-version }} != ${{ steps.latest-version.outputs.tag }}
if: ${{ env.OLD_VERSION }} != ${{ env.NEW_VERSION }}
uses: actions/github-script@v3
with:
script: |
Expand Down

0 comments on commit 7d16347

Please sign in to comment.