Skip to content

Commit

Permalink
Set environment variables in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Oct 24, 2023
1 parent d7a8d00 commit 53a0bc2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ name: Release
permissions:
contents: write

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "--cfg uuid_unstable"

# This task will run whenever you push a git tag that looks like a version
# like "1.0.0", "v0.1.0-prerelease.1", "my-app/0.1.0", "releases/v1.0.0", etc.
# Various formats will be parsed into a VERSION and an optional PACKAGE_NAME, where
Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ version = "0.0.1-pre.4"
[workspace.metadata.dist]
# Enable all features
all-features = true
# Allow own modification (temporary)
allow-dirty = ["ci"]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.4.0-prerelease.3"
# CI backends to support
Expand Down

0 comments on commit 53a0bc2

Please sign in to comment.