Skip to content
Open
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
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
name: Fetch next version number
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: semantic release
id: semantic
uses: cycjimmy/semantic-release-action@v2
Expand All @@ -35,7 +35,7 @@ jobs:
name: Build ${{ matrix.target }} on windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6

- name: set new version number (${{ needs.get_next_version.outputs.new_version }})
run: (get-content -Path .\Cargo.toml) | %{$_ -replace "version = \`"0.0.0-development\`"","version = `"${{ needs.get_next_version.outputs.new_version }}`""} | set-content -Path .\Cargo.toml
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
name: Build ${{ matrix.target }} on ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6

- name: set new version number (${{ needs.get_next_version.outputs.new_version }})
run: sed -i -e 's/^version = .*/version = "${{ needs.get_next_version.outputs.new_version }}"/' Cargo.toml
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
name: Build ${{ matrix.target }} on macos
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6

- name: set new version number (${{ needs.get_next_version.outputs.new_version }})
run: sed -i -e 's/^version = .*/version = "${{ needs.get_next_version.outputs.new_version }}"/' Cargo.toml
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
name: Create release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- uses: actions/download-artifact@v3

- name: package m1 apple
Expand Down