Skip to content

Commit

Permalink
Fix actions issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wilwade committed Mar 5, 2024
1 parent d7b98ba commit 3777bd8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 17 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ jobs:
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts-${{github.run_id}}
name: artifacts-binary-${{matrix.network}}-${-${{github.run_id}}
path: |
${{env.BIN_DIR}}/${{env.RELEASE_BIN_FILENAME}}
${{env.BIN_DIR}}/${{env.RELEASE_BIN_FILENAME}}.sha256
Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: artifacts-${{github.run_id}}
name: artifacts-wasm-${{matrix.network}}-${{github.run_id}}
path: ${{env.WASM_DIR}}/${{env.RELEASE_WASM_FILENAME}}
if-no-files-found: error

Expand Down Expand Up @@ -421,7 +421,7 @@ jobs:
id: download-binaries
uses: actions/download-artifact@v4
with:
name: artifacts-${{github.run_id}}
pattern: artifacts-binary-*-${{github.run_id}}
path: .
- name: List Downloaded Binaries
run: |
Expand Down Expand Up @@ -477,8 +477,9 @@ jobs:
id: download-binaries
uses: actions/download-artifact@v4
with:
name: artifacts-${{github.run_id}}
name: artifacts-binary-*-${{github.run_id}}
path: .
merge-multiple: true
- name: List Downloaded Binaries
run: |
download_dir=${{steps.download-binaries.outputs.download-path}}
Expand Down Expand Up @@ -540,8 +541,9 @@ jobs:
- name: Download Test Binary
uses: actions/download-artifact@v4
with:
name: artifacts-${{github.run_id}}
pattern: artifacts-binary-*-${{github.run_id}}
path: ${{env.TEST_DOWNLOAD_DIR}}
merge-multiple: true
- name: Rename and Move Binaries
run: |
mkdir -p ${{env.BIN_DIR}}
Expand Down Expand Up @@ -618,9 +620,9 @@ jobs:
run: |
cat ${{env.OUTPUT_FILENAME}}
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifacts-${{github.run_id}}
name: artifacts-metadata-${{github.run_id}}
path: ${{env.OUTPUT_DIR}}/${{env.OUTPUT_FILENAME}}
if-no-files-found: error
- name: Stop Local Nodes
Expand Down Expand Up @@ -727,8 +729,9 @@ jobs:
id: download
uses: actions/download-artifact@v4
with:
name: artifacts-${{github.run_id}}
pattern: artifacts-*-${{github.run_id}}
path: /tmp
merge-multiple: true
- name: List Downloaded Artifacts
working-directory: /tmp
run: |
Expand Down Expand Up @@ -855,8 +858,9 @@ jobs:
id: download-binaries
uses: actions/download-artifact@v4
with:
name: artifacts-${{github.run_id}}
pattern: artifacts-binary-*-${{github.run_id}}
path: .
merge-multiple: true
- name: List Downloaded Binaries
run: |
download_dir=${{steps.download-binaries.outputs.download-path}}
Expand Down Expand Up @@ -953,8 +957,9 @@ jobs:
id: download-binaries
uses: actions/download-artifact@v4
with:
name: artifacts-${{github.run_id}}
pattern: artifacts-binary-*-${{github.run_id}}
path: .
merge-multiple: true
- name: List Downloaded Binaries
run: |
download_dir=${{steps.download-binaries.outputs.download-path}}
Expand Down
20 changes: 13 additions & 7 deletions .github/workflows/verify-pr-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: artifacts-${{github.run_id}}
name: artifacts-binary-${{matrix.network}}-${-${{github.run_id}}
path: ${{env.BIN_DIR}}/${{env.FINAL_BIN_FILENAME}}*
if-no-files-found: error

Expand Down Expand Up @@ -424,8 +424,9 @@ jobs:
id: download-binaries
uses: actions/download-artifact@v4
with:
name: artifacts-${{github.run_id}}
pattern: artifacts-binary-*-${{github.run_id}}
path: ${{env.BIN_DIR}}
merge-multiple: true
- name: List Downloaded Binaries
run: |
download_dir=${{steps.download-binaries.outputs.download-path}}
Expand Down Expand Up @@ -472,8 +473,9 @@ jobs:
id: download-binaries
uses: actions/download-artifact@v4
with:
name: artifacts-${{github.run_id}}
pattern: artifacts-binary-*-${{github.run_id}}
path: ${{env.BIN_DIR}}
merge-multiple: true
- name: List Downloaded Binaries
run: |
download_dir=${{steps.download-binaries.outputs.download-path}}
Expand Down Expand Up @@ -557,8 +559,9 @@ jobs:
id: download-binaries
uses: actions/download-artifact@v4
with:
name: artifacts-${{github.run_id}}
pattern: artifacts-binary-*-${{github.run_id}}
path: ${{env.BIN_DIR}}
merge-multiple: true
- name: List Downloaded Binaries
run: |
download_dir=${{steps.download-binaries.outputs.download-path}}
Expand Down Expand Up @@ -591,8 +594,9 @@ jobs:
id: download-binaries
uses: actions/download-artifact@v4
with:
name: artifacts-${{github.run_id}}
pattern: artifacts-binary-*-${{github.run_id}}
path: ${{env.BIN_DIR}}
merge-multiple: true
- name: List Downloaded Binaries
run: |
download_dir=${{steps.download-binaries.outputs.download-path}}
Expand Down Expand Up @@ -671,8 +675,9 @@ jobs:
id: download-binaries
uses: actions/download-artifact@v4
with:
name: artifacts-${{github.run_id}}
pattern: artifacts-binary-*-${{github.run_id}}
path: ${{env.BIN_DIR}}
merge-multiple: true
- name: List Downloaded Binaries
run: |
download_dir=${{steps.download-binaries.outputs.download-path}}
Expand Down Expand Up @@ -746,8 +751,9 @@ jobs:
id: download-binaries
uses: actions/download-artifact@v4
with:
name: artifacts-${{github.run_id}}
pattern: artifacts-binary-*-${{github.run_id}}
path: ${{env.BIN_DIR}}
merge-multiple: true
- name: List Downloaded Binaries
run: |
download_dir=${{steps.download-binaries.outputs.download-path}}
Expand Down

0 comments on commit 3777bd8

Please sign in to comment.