summaryrefslogtreecommitdiffstats
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-06-16 18:34:24 (GMT)
committerGitHub <noreply@github.com>2023-06-16 18:34:24 (GMT)
commit0f2cb0fd91ac718030ff888fa7801cf14b81adf3 (patch)
treee6f50058fc9e415fcf5434776a2f9aba7e694c6f /.github/workflows/release.yml
parentcef648eb14e9e611c81e710318924c27445878d8 (diff)
downloadhdf5-0f2cb0fd91ac718030ff888fa7801cf14b81adf3.zip
hdf5-0f2cb0fd91ac718030ff888fa7801cf14b81adf3.tar.gz
hdf5-0f2cb0fd91ac718030ff888fa7801cf14b81adf3.tar.bz2
Fix the snapshots workflow (#3148)
* Add upload url as artifact * Change doxygen path and comment log-url upload * zip doxygen files for upload * add workspace var
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml17
1 files changed, 15 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e79dfd2..e268b08 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -67,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 ${{ github.workspace }}/${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen
- name: Get tgz-tarball (Linux)
uses: actions/download-artifact@v3
@@ -101,12 +104,13 @@ jobs:
path: ${{ github.workspace }}
- name: PreRelease tag
+ id: create_release
uses: softprops/action-gh-release@v1
with:
tag_name: "snapshot"
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
@@ -114,6 +118,15 @@ jobs:
${{ 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 }}