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

chore(ci): fix upload/download sha256sums artifacts #14833

Merged
merged 1 commit into from
Mar 5, 2024
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
2 changes: 1 addition & 1 deletion .github/actions/artifact_download/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ runs:
fi
echo "path=${path}" >> $GITHUB_OUTPUT

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: env.RUNNER_PROVIDER == 'github'
with:
name: ${{ env.BUILD_PROFILE }}-${{ inputs.sha }}-${{ inputs.target }}-${{ inputs.category }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bindings.python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: python
path: src/bendpy/dist
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ jobs:
- name: post sha256
uses: actions/upload-artifact@v4
with:
name: sha256sums
name: sha256sums-${{ matrix.target }}
path: sha256-*.txt
retention-days: 1
- name: Publish Binaries
Expand Down Expand Up @@ -286,7 +286,7 @@ jobs:
- name: post sha256
uses: actions/upload-artifact@v4
with:
name: sha256sums
name: sha256sums-${{ steps.target.outputs.target }}
path: sha256-*.txt
retention-days: 1
- name: Publish Binaries
Expand Down Expand Up @@ -547,9 +547,11 @@ jobs:
with:
ref: ${{ needs.create_release.outputs.version }}
- name: download sha256sums
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sha256sums
pattern: sha256sums-*
merge-multiple: true
- shell: bash
run: |
for file in *.txt
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reuse.benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
run: |
sudo apt-get update -yq
sudo apt-get install -yq python3-jinja2
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: benchmark
path: benchmark/clickbench/results
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
run: |
sudo apt-get update -yq
sudo apt-get install -yq python3-jinja2
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: benchmark
path: benchmark/clickbench/results
Expand Down
Loading