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 4360a02 commit ea5c25a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_nigthly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
id: get_version
run: |
cargo install --debug toml-cli
echo VERSION=$(toml get --raw Cargo.toml package.version) >> $ENV:GITHUB_OUTPUT
echo NIGHTLY_TAG=v$(toml get --raw Cargo.toml package.version)-nightly >> $ENV:GITHUB_OUTPUT
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: Delete current nightly release
env:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
id: get_version
run: |
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
Expand Down Expand Up @@ -124,7 +123,10 @@ jobs:
if: github.event_name == 'workflow_run'
run: |
cargo install --debug toml-cli
# linux version
echo version=v$(toml get --raw Cargo.toml package.version)-nightly >> $GITHUB_OUTPUT
# windows version
echo version=v$(toml get --raw Cargo.toml package.version)-nightly >> $ENV:GITHUB_OUTPUT
- name: Extract version2
id: version2
Expand Down

0 comments on commit ea5c25a

Please sign in to comment.