Skip to content

Commit

Permalink
release environ needs different root name
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF committed Apr 11, 2024
1 parent 122bab1 commit 5e4a57c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,23 @@ jobs:
ls -l ${{ github.workspace }}
ls $GITHUB_WORKSPACE
- name: Create source file (tgz and zip)
id: create-files
if: ${{ ((inputs.use_environ == 'snapshots')
run: |
zip -r ${{ steps.set-file-base.outputs.FILE_BASE }}.zip ./hdfsrc
tar -zcvf ${{ steps.set-file-base.outputs.FILE_BASE }}.tar.gz ./hdfsrc
shell: bash

- name: Create release source file (tgz and zip)
id: create-rel-files
if: ${{ ((inputs.use_environ == 'release')
run: |
mv hdfsrc ${{ steps.set-file-base.outputs.FILE_BASE }}
zip -r ${{ steps.set-file-base.outputs.FILE_BASE }}.zip ./${{ steps.set-file-base.outputs.FILE_BASE }}
tar -zcvf ${{ steps.set-file-base.outputs.FILE_BASE }}.tar.gz ./${{ steps.set-file-base.outputs.FILE_BASE }}
shell: bash

- name: List files in the repository
run: |
ls -l ${{ github.workspace }}
Expand Down

0 comments on commit 5e4a57c

Please sign in to comment.