Skip to content

Commit

Permalink
Store metadata version.
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo committed Oct 9, 2023
1 parent 1ba1b79 commit 2fed3ca
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/scheduled_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ jobs:
########

- name: Create metadata artifact
run: |
echo "${{fromJson(steps.metadataVersion.outputs.output).data.build_date}}" > mygeneset_metadata_version.txt
# - name: Create metadata artifact
# run: |
# echo "${{fromJson(steps.metadataVersion.outputs.output).data.build_date}}" > mygeneset_metadata_version.txt

- name: Upload metadata artifact
uses: actions/upload-artifact@v3
with:
name: mygeneset-metadata-version
path: mygeneset_metadata_version.txt
# - name: Upload metadata artifact
# uses: actions/upload-artifact@v3
# with:
# name: mygeneset-metadata-version
# path: mygeneset_metadata_version.txt

- name: Remove local metadata artifact
run: |
rm -r mygeneset_metadata_version.txt
# - name: Remove local metadata artifact
# run: |
# rm -r mygeneset_metadata_version.txt


### --- ###
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
if [ "$version_new" = "$version_old" ]; then
echo "No new version identified. Stopping workflow."
echo "::error::Values are the same."
exit 1
exit 0
else
echo "New version identified. Proceeding with the workflow."
fi
Expand Down

0 comments on commit 2fed3ca

Please sign in to comment.