Skip to content

Commit

Permalink
Update release workflow, downgrade Rust / Mac OS build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
FabienD committed Aug 15, 2024
1 parent 61d5bcd commit e840086
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ jobs:

- name: create release
id: create-release
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
node-version: 20
script: |
const { data } = await github.rest.repos.createRelease({
owner: context.repo.owner,
Expand Down Expand Up @@ -66,7 +65,7 @@ jobs:
node-version: 20

- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@1.76.0

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-latest'
Expand Down Expand Up @@ -100,11 +99,10 @@ jobs:
steps:
- name: publish release
id: publish-release
uses: actions/github-script@v6
uses: actions/github-script@v7
env:
release_id: ${{ needs.create-release.outputs.release_id }}
with:
node-version: 20
script: |
github.rest.repos.updateRelease({
owner: context.repo.owner,
Expand Down

0 comments on commit e840086

Please sign in to comment.