Skip to content

Commit

Permalink
Merge pull request #29 from NOAA-OWP/workflow
Browse files Browse the repository at this point in the history
Workflow update to include sha256
  • Loading branch information
epag authored Jul 8, 2024
2 parents 49880ac + 022f72e commit 1c709b9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 35 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,20 @@ jobs:
../gradlew distZip
# Create the md5
- name: Creating md5
- name: Creating md5checksum
run: |
md5sum build/distributions/wres-*.zip >> checksum.txt
md5sum wres-*/build/distributions/wres-*-*.zip >> checksum.txt
md5sum systests/build/distributions/systests-*.zip >> checksum.txt
md5sum scripts/build/distributions/wres-admin-scripts-*.zip >> checksum.txt
md5sum build/distributions/wres-*.zip >> md5checksum.txt
md5sum wres-*/build/distributions/wres-*-*.zip >> md5checksum.txt
md5sum systests/build/distributions/systests-*.zip >> md5checksum.txt
md5sum scripts/build/distributions/wres-admin-scripts-*.zip >> md5checksum.txt
# Create the sha256
- name: Creating sha256checksum
run: |
sha256sum build/distributions/wres-*.zip >> sha256checksum.txt
sha256sum wres-*/build/distributions/wres-*-*.zip >> sha256checksum.txt
sha256sum systests/build/distributions/systests-*.zip >> sha256checksum.txt
sha256sum scripts/build/distributions/wres-admin-scripts-*.zip >> sha256checksum.txt
# Deletes drafts incase the staging tag was deleted to change it to a different commit
- name: Delete drafts
Expand All @@ -70,7 +78,8 @@ jobs:
with:
prerelease: true
files: |
checksum.txt
md5checksum.txt
sha256checksum.txt
Release.txt
build/distributions/wres-*.zip
wres-*/build/distributions/wres-*-*.zip
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
with:
files: |
Release.txt
md5checksum.txt
sha256checksum.txt
*.zip
*.tar.gz
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ out
# SonarQube-generated directories
.scannerwork

#jfr profileconfig
.profileconfig.json

# "Embedded" postgres database directory
.postgres_testinstance

Expand Down
29 changes: 0 additions & 29 deletions systests/testScenario/evaluation.yml

This file was deleted.

0 comments on commit 1c709b9

Please sign in to comment.