diff --git a/.gitea/workflows/publish_package.yaml b/.gitea/workflows/publish_package.yaml index db8ccf0..bea345c 100644 --- a/.gitea/workflows/publish_package.yaml +++ b/.gitea/workflows/publish_package.yaml @@ -13,12 +13,7 @@ jobs: - run: echo "This job is now running on a ${{ runner.os }}." - run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - # - name: Install Rust - # run: | - # curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - # - run: source "$HOME/.cargo/env" - - - name: Install minimal nightly + - name: Install minimal Rust uses: https://github.com/actions-rs/toolchain@v1 with: toolchain: stable @@ -28,4 +23,13 @@ jobs: uses: actions/checkout@v3 - name: Publish - run: cargo run -r \ No newline at end of file + uses: actions-rs/cargo@v1 + with: + command: build + args: --release --all-features + + - name: Run + uses: actions-rs/cargo@v1 + with: + command: run + args: -r \ No newline at end of file