Skip to content

Commit

Permalink
make path in tar consistent, fix missing artifact in release (#1016)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreat authored Nov 6, 2024
1 parent 47d9602 commit 9ca5f71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/actions/build-rust/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,8 @@ runs:
shell: bash
run: |
# Create path with version for artifacts
mkdir -p artifacts
cp -R "${ARTIFACT_DIR}" "artifacts/${ARTIFACT_NAME}"
tar --strip-components=1 -c -z -v -f "${ARTIFACT_NAME}.tar.gz" "artifacts/${ARTIFACT_NAME}"
cp -R "${ARTIFACT_DIR}" "${ARTIFACT_NAME}"
tar -c -z -v -f "${ARTIFACT_NAME}.tar.gz" "${ARTIFACT_NAME}"
- name: Upload artifacts
uses: mobilecoinofficial/gh-actions/upload-artifact@v0
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/on-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,11 @@ jobs:
```
generate_release_notes: true
draft: true
fail_on_unmatched_files: true
files: |
build_artifacts/full-service-mainnet-Linux-X64-${{ github.ref_name }}/full-service-mainnet-Linux-X64-${{ github.ref_name }}.tar.gz
build_artifacts/full-service-mainnet-macOS-ARM64-${{ github.ref_name }}/full-service-mainnet-macOS-ARM64-${{ github.ref_name }}.tar.gz
build_artifacts/full-service-mainnet-macOS-X64-${{ github.ref_name }}/full-service-mainnet-macOS-X64-${{ github.ref_name }}.tar.gz
build_artifacts/full-service-testnet-Linux-X64-${{ github.ref_name }}/full-service-mainnet-Linux-X64-${{ github.ref_name }}.tar.gz
build_artifacts/full-service-testnet-Linux-X64-${{ github.ref_name }}/full-service-testnet-Linux-X64-${{ github.ref_name }}.tar.gz
build_artifacts/full-service-testnet-macOS-ARM64-${{ github.ref_name }}/full-service-testnet-macOS-ARM64-${{ github.ref_name }}.tar.gz
build_artifacts/full-service-testnet-macOS-X64-${{ github.ref_name }}/full-service-testnet-macOS-X64-${{ github.ref_name }}.tar.gz

0 comments on commit 9ca5f71

Please sign in to comment.