Skip to content

Commit

Permalink
Made more verbose and actually fail on error.
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahGale committed Oct 17, 2024
1 parent 5b9f522 commit 2e5c6bf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ jobs:
run: pip install setuptools-scm
- name: Get Base Version
id: get_version
run: echo "old_version=`python -m setuptools_scm`" >> $GITHUB_OUTPUT
run: |
python -m setuptools_scm
echo "old_version=`python -m setuptools_scm`" >> $GITHUB_OUTPUT
- name: Git-archive-all
uses: qmonnet/git-archive-all-action@v1
with:
Expand All @@ -120,7 +122,9 @@ jobs:
run: tar xzf montepy.tar.gz
- name: Get version from archive
id: get_new_version
run: echo "new_version=`python -m setuptools_scm`" >> $GITHUB_OUTPUT
run:|
python -m setuptools_scm
echo "new_version=`python -m setuptools_scm`" >> $GITHUB_OUTPUT
- name: Check match
if: (steps.get_version.output.old_version != steps.get_new_version.output.new_version)
run: |
Expand Down

0 comments on commit 2e5c6bf

Please sign in to comment.