diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-06-19 16:21:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-19 16:21:39 (GMT) |
commit | 7c587d950c2529e94aa2349d033c4a6bf8bfc719 (patch) | |
tree | c3f2b126ad4eaca9a2b5f68ea7b91aa831c15c65 /.github/workflows/release.yml | |
parent | 16b1f35e7f5cff85a141148a6f8aa02c23f08fd7 (diff) | |
download | hdf5-7c587d950c2529e94aa2349d033c4a6bf8bfc719.zip hdf5-7c587d950c2529e94aa2349d033c4a6bf8bfc719.tar.gz hdf5-7c587d950c2529e94aa2349d033c4a6bf8bfc719.tar.bz2 |
Update github files/workflow from develop (#3154)
* Update github files/workflow from develop
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80e9f35..bcb7bb9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,10 @@ on: required: true type: string +# Minimal permissions to be inherited by any job that doesn't declare its own permissions +permissions: + contents: read + # Previous workflows must pass to get here so tag the commit that created the files jobs: create-tag: @@ -63,7 +67,10 @@ jobs: uses: actions/download-artifact@v3 with: name: docs-doxygen - path: ${{ github.workspace }}/${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen + path: ${{ github.workspace }} + + - name: Zip Folder + run: zip -r ${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen.zip. -i ${{ github.workspace }}/${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen - name: Get tgz-tarball (Linux) uses: actions/download-artifact@v3 @@ -97,15 +104,30 @@ jobs: path: ${{ github.workspace }} - name: PreRelease tag + id: create_release uses: softprops/action-gh-release@v1 with: tag_name: "snapshot_1_14" prerelease: true files: | - ${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen + ${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen.zip ${{ steps.get-file-base.outputs.FILE_BASE }}.tar.gz ${{ steps.get-file-base.outputs.FILE_BASE }}.zip ${{ steps.get-file-base.outputs.FILE_BASE }}-osx12.tar.gz ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204.tar.gz ${{ steps.get-file-base.outputs.FILE_BASE }}-win_vs2022.zip if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` + + - name: Store Release url + run: | + echo "${{ steps.create_release.outputs.upload_url }}" > ./upload_url + +# - uses: actions/upload-artifact@v3 +# with: +# path: ./upload_url +# name: upload_url + + - name: List files for the space (Linux) + run: | + ls -l ${{ github.workspace }} + ls ${{ runner.workspace }} |