Skip to content

Commit

Permalink
release ci updates / fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Aug 20, 2024
1 parent b5f56b7 commit e98a28b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
- name: Build package
run: |
cargo build -p ${{ matrix.package }} --release --target x86_64-pc-windows-msvc
mkdir result
mv target/x86_64-pc-windows-msvc/release/*.exe result
cp crates/${{ matrix.package }}/README.md result
cp LICENSE result
Expand All @@ -49,6 +50,8 @@ jobs:

- run: Compress-Archive -Path result/* -DestinationPath ${{ matrix.package }}.x86_64-windows.zip

- run: dir result

- uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.package }}.x86_64-windows
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ on:
required: true
type: choice
options:
- minor
- patch
- beta
- patch
- minor

concurrency:
group: release
Expand Down Expand Up @@ -38,7 +38,10 @@ jobs:
run: nix develop -c cargo release ${{ inputs.increment }} -x --no-publish --no-push --no-tag

- id: version
run: echo "::set-output name=version::$(grep '^version =' Cargo.toml | sed -E 's/version = "([^"]+)"/\1/')"
run: |
version=$(grep '^version' Cargo.toml | sed 's/version = "//; s/"//')
echo "version=$version"
echo "version=$version" >> $GITHUB_ENV
- name: Create version branch
run: |
Expand Down
2 changes: 2 additions & 0 deletions crates/unavi-app/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ pub async fn start() {
let mut args = Args {
debug_physics: false,
log_level: LogLevel::default(),
storage: Storage::Memory,
xr: false,
};

if let Some(value) = params.get("debug-physics") {
Expand Down

0 comments on commit e98a28b

Please sign in to comment.