Skip to content
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/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- uses: dtolnay/rust-toolchain@stable
with:
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- uses: dtolnay/rust-toolchain@stable
with:
Expand All @@ -76,7 +76,7 @@ jobs:
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc

- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ matrix.artifact }}
path: |
Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
Comment thread
lorenjphillips marked this conversation as resolved.

- uses: dtolnay/rust-toolchain@stable
with:
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
tar -czvf ../../../${{ matrix.artifact }}.tar.gz ${{ matrix.binary }}

- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ matrix.artifact }}
path: ${{ matrix.artifact }}.tar.gz
Expand All @@ -77,23 +77,23 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
path: artifacts

- name: Generate checksums
run: |
cd artifacts
for dir in */; do
(cd "$dir" && sha256sum *.tar.gz > SHA256SUMS)
(cd "$dir" && sha256sum -- *.tar.gz > SHA256SUMS)
done
cat */SHA256SUMS > ../SHA256SUMS
cat -- */SHA256SUMS > ../SHA256SUMS

- name: Create release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v3
with:
files: |
artifacts/*/*.tar.gz
Expand All @@ -120,10 +120,12 @@ jobs:
- name: Parse checksums
id: sha
run: |
echo "macos_arm64=$(grep 'coval-macos-arm64' SHA256SUMS | awk '{print $1}')" >> "$GITHUB_OUTPUT"
echo "macos_x64=$(grep 'coval-macos-x64' SHA256SUMS | awk '{print $1}')" >> "$GITHUB_OUTPUT"
echo "linux_arm64=$(grep 'coval-linux-arm64' SHA256SUMS | awk '{print $1}')" >> "$GITHUB_OUTPUT"
echo "linux_x64=$(grep 'coval-linux-x64' SHA256SUMS | awk '{print $1}')" >> "$GITHUB_OUTPUT"
{
echo "macos_arm64=$(grep 'coval-macos-arm64' SHA256SUMS | awk '{print $1}')"
echo "macos_x64=$(grep 'coval-macos-x64' SHA256SUMS | awk '{print $1}')"
echo "linux_arm64=$(grep 'coval-linux-arm64' SHA256SUMS | awk '{print $1}')"
echo "linux_x64=$(grep 'coval-linux-x64' SHA256SUMS | awk '{print $1}')"
} >> "$GITHUB_OUTPUT"
Comment thread
lorenjphillips marked this conversation as resolved.

- name: Update Homebrew tap
env:
Expand Down
Loading