diff --git a/.github/workflows/daily-build.yml b/.github/workflows/daily-build.yml index e511523c..87be987f 100644 --- a/.github/workflows/daily-build.yml +++ b/.github/workflows/daily-build.yml @@ -29,6 +29,18 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Get hdfview release base name + uses: dsaltares/fetch-gh-release-asset@master + with: + version: 'tags/HDFView-99.99.99' + file: 'last-file.txt' + + - name: Read base-name file + id: gethdfviewbase + run: echo "HDFVIEW_NAME_BASE=$(cat last-file.txt)" >> $GITHUB_OUTPUT + + - run: echo "hdfview base name is ${{ steps.gethdfviewbase.outputs.HDFVIEW_NAME_BASE }}." + - name: Get hdf4 release base name uses: dsaltares/fetch-gh-release-asset@master with: @@ -117,8 +129,8 @@ jobs: contents: write # In order to allow file deletion uses: ./.github/workflows/remove-files.yml with: - file_base: ${{ needs.get-old-names.outputs.hdf5-name }} - use_tag: snapshot + file_base: ${{ needs.get-base-names.outputs.hdfview-name }} + use_tag: HDFView-99.99.99 use_environ: snapshots if: ${{ needs.call-workflow-tarball.outputs.has_changes == 'true' }} diff --git a/.github/workflows/remove-files.yml b/.github/workflows/remove-files.yml index b40d27be..b68131f2 100644 --- a/.github/workflows/remove-files.yml +++ b/.github/workflows/remove-files.yml @@ -1,4 +1,4 @@ -name: hdf5 dev remove-files +name: hdfview remove-files # Controls when the action will run. Triggers the workflow on a schedule on: