Skip to content

Commit

Permalink
Test build nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Jun 21, 2024
1 parent 814ed38 commit 5e0695d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_nigthly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ permissions:

jobs:
tag-release:
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Get version from Cargo.toml
id: get_version
run: |
cargo install toml-cli
cargo install --debug toml-cli
echo VERSION=$(toml get --raw Cargo.toml package.version) >> $GITHUB_OUTPUT
echo NIGHTLY_TAG=v$(toml get --raw Cargo.toml package.version)-nightly >> $GITHUB_OUTPUT
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
if: github.event_name == 'workflow_run'
id: get_version
run: |
VERSION=$(grep '^version =' Cargo.toml | cut -d '"' -f2)
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
echo "NIGHTLY_TAG=v$VERSION-nightly" >> $GITHUB_OUTPUT
cargo install --debug toml-cli
echo VERSION=$(toml get --raw Cargo.toml package.version) >> $GITHUB_OUTPUT
echo NIGHTLY_TAG=v$(toml get --raw Cargo.toml package.version)-nightly >> $GITHUB_OUTPUT
- name: Release
if: github.event_name == 'workflow_run'
Expand Down Expand Up @@ -123,8 +123,8 @@ jobs:
id: version1
if: github.event_name == 'workflow_run'
run: |
VERSION=$(grep '^version =' Cargo.toml | cut -d '"' -f2)
echo version=v$VERSION-nightly >> $GITHUB_OUTPUT
cargo install --debug toml-cli
echo version=v$(toml get --raw Cargo.toml package.version)-nightly >> $GITHUB_OUTPUT
- name: Extract version2
id: version2
Expand Down

0 comments on commit 5e0695d

Please sign in to comment.