Skip to content

Commit

Permalink
Correct remove call vars (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF authored May 30, 2024
1 parent 132db90 commit b625fef
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/daily-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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' }}

2 changes: 1 addition & 1 deletion .github/workflows/remove-files.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit b625fef

Please sign in to comment.