diff options
-rw-r--r-- | .github/workflows/cmake-ctest.yml | 6 | ||||
-rw-r--r-- | .github/workflows/release.yml | 17 | ||||
-rw-r--r-- | .github/workflows/tarball.yml | 2 |
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 |