Skip to content

Commit

Permalink
fix download/upload-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
hedzr committed Sep 6, 2024
1 parent 721c6f9 commit 45863e2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -335,13 +335,14 @@ jobs:
- name: Store Release url
run: |
echo "${{ steps.create_release.outputs.upload_url }}" > ./upload_url
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4.4.0
with:
path: ./upload_url
name: upload_url

publish:
if: contains(github.ref, 'tags/v')
needs: release
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
strategy:
Expand All @@ -362,19 +363,18 @@ jobs:
}
- {
name: "macOS Latest Clang", artifact: "macOS.7z",
os: ubuntu-latest
os: macos-latest
}
needs: release

steps:
- name: Download artifact
uses: actions/[email protected].7
uses: actions/[email protected].8
with:
name: ${{ matrix.config.artifact }}
path: ./

- name: Download URL
uses: actions/[email protected].7
uses: actions/[email protected].8
with:
name: upload_url
path: ./
Expand Down

0 comments on commit 45863e2

Please sign in to comment.