Skip to content

Commit

Permalink
Move to supported GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgodbolt committed Oct 4, 2024
1 parent 80ce042 commit 0f50f3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ jobs:

runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
- uses: actions/checkout@v4
- run: rustup target add ${{ matrix.target }}
- name: Format
run: cargo fmt
- name: Clippy
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ jobs:

runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
- uses: actions/checkout@v4
- run: rustup target add ${{ matrix.target }}
- if: ${{ contains(matrix.target, '-musl') }}
run: sudo apt-get install musl-tools
- name: Build
Expand All @@ -47,9 +44,9 @@ jobs:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v4
- name: Upload binaries to release
uses: marvinpinto/action-automatic-releases@latest
uses: softprops/action-gh-release@v2
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
files: "**/ozy-*"

0 comments on commit 0f50f3c

Please sign in to comment.