From be5ea43c69cf446625a041c9315bb06031d44d4c Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Thu, 15 Jun 2023 15:39:39 -0500 Subject: [PATCH 1/4] Add upload url as artifact --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae5843431ce..0855326e24e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,6 +97,7 @@ jobs: path: ${{ github.workspace }} - name: PreRelease tag + id: create_release uses: softprops/action-gh-release@v1 with: tag_name: "snapshot" @@ -110,6 +111,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 }} From 15ef1f189b09ddbb9789a0cc14061d44802a8ea7 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Fri, 16 Jun 2023 08:54:30 -0500 Subject: [PATCH 2/4] Change doxygen path and comment log-url upload --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0855326e24e..c435cfd015d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,7 +63,7 @@ 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: Get tgz-tarball (Linux) uses: actions/download-artifact@v3 @@ -114,11 +114,11 @@ jobs: - 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 + +# - uses: actions/upload-artifact@v3 +# with: +# path: ./upload_url +# name: upload_url - name: List files for the space (Linux) run: | From 42edb037c07d44fd20ff5ada8456bf0de07b9901 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Fri, 16 Jun 2023 09:24:46 -0500 Subject: [PATCH 3/4] zip doxygen files for upload --- .github/workflows/cmake-ctest.yml | 6 +++--- .github/workflows/release.yml | 5 ++++- .github/workflows/tarball.yml | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cmake-ctest.yml b/.github/workflows/cmake-ctest.yml index 2647ef8a690..c0713dbe862 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 c435cfd015d..dcd7276c3d9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,6 +65,9 @@ jobs: name: docs-doxygen path: ${{ github.workspace }} + - name: Zip Folder + run: zip -r ${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen.zip ${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen + - name: Get tgz-tarball (Linux) uses: actions/download-artifact@v3 with: @@ -103,7 +106,7 @@ jobs: 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 diff --git a/.github/workflows/tarball.yml b/.github/workflows/tarball.yml index ae2992e0da1..499f0222e80 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 From 1878d7e537bb00c66a36a539e9ea6eef7c718250 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Fri, 16 Jun 2023 09:55:23 -0500 Subject: [PATCH 4/4] add workspace var --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dcd7276c3d9..8e69498400f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,7 @@ jobs: path: ${{ github.workspace }} - name: Zip Folder - run: zip -r ${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen.zip ${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen + 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