summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--.github/workflows/cmake-ctest.yml6
-rw-r--r--.github/workflows/release.yml17
-rw-r--r--.github/workflows/tarball.yml2
3 files changed, 19 insertions, 6 deletions
diff --git a/.github/workflows/cmake-ctest.yml b/.github/workflows/cmake-ctest.yml
index 2647ef8..c0713db 100644
--- a/.github/workflows/cmake-ctest.yml
+++ b/.github/workflows/cmake-ctest.yml
@@ -113,7 +113,7 @@ jobs:
- name: List files for the space (Linux)
run: |
- ls ${{ github.workspace }}
+ ls -l ${{ github.workspace }}
ls ${{ runner.workspace }}
- name: Uncompress source (Linux)
@@ -141,7 +141,7 @@ jobs:
- name: List files in the space (Linux)
run: |
ls ${{ github.workspace }}
- ls ${{ runner.workspace }}
+ ls -l ${{ runner.workspace }}
# Save files created by ctest script
- name: Save published binary (Linux)
@@ -216,7 +216,7 @@ jobs:
- name: List files in the space (MacOS)
run: |
ls ${{ github.workspace }}
- ls ${{ runner.workspace }}
+ ls -l ${{ runner.workspace }}
# Save files created by ctest script
- name: Save published binary (MacOS)
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 }}
diff --git a/.github/workflows/tarball.yml b/.github/workflows/tarball.yml
index ae2992e..499f022 100644
--- a/.github/workflows/tarball.yml
+++ b/.github/workflows/tarball.yml
@@ -95,7 +95,7 @@ jobs:
- name: List files in the repository
run: |
- ls ${{ github.workspace }}
+ ls -l ${{ github.workspace }}
ls $GITHUB_WORKSPACE
# Save files created by release script