Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the snapshots workflow #3148

Merged
merged 5 commits into from
Jun 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/cmake-ctest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -101,19 +104,29 @@ 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
${{ 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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down