SHA256
Finished plaing with actions. Build Release action should be functional now.
This commit is contained in:
@@ -33,23 +33,11 @@ jobs:
|
||||
# echo "::warning::Tag ($TAG) does not match Cargo.toml version (v$CARGO_VERSION)"
|
||||
# fi
|
||||
|
||||
# - name: Setup Rust toolchain
|
||||
# uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- name: Setup Rust toolchain
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
|
||||
# - name: Build Release Binary
|
||||
# run: cargo build --release
|
||||
|
||||
- name: Build with Rust Docker Image
|
||||
run: |
|
||||
echo "Checking host path: ${{ github.workspace }}"
|
||||
ls -la "${{ github.workspace }}"
|
||||
|
||||
docker run --rm \
|
||||
-v "${{ github.workspace }}:/app:z" \
|
||||
-w /app \
|
||||
rust:slim-trixie \
|
||||
cargo build --release
|
||||
|
||||
- name: Build Release Binary
|
||||
run: cargo build --release
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
Reference in New Issue
Block a user