diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index aabf12693..70b7918f2 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -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 @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f7da8e70..e0733edc9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,9 +8,9 @@ on: required: true type: choice options: - - minor - - patch - beta + - patch + - minor concurrency: group: release @@ -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: | diff --git a/crates/unavi-app/src/main.rs b/crates/unavi-app/src/main.rs index a8f6acfb1..88275cfb7 100644 --- a/crates/unavi-app/src/main.rs +++ b/crates/unavi-app/src/main.rs @@ -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") {