ci: added release --locked build to PR checks #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
name: Release Packaging | |
jobs: | |
release: | |
name: Release Packaging | |
env: | |
PROJECT_NAME_UNDERSCORE: pidtree_mon | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Release Build | |
run: cargo build --release --locked | |
- name: 'Upload Artifact' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ env.PROJECT_NAME_UNDERSCORE }} | |
path: target/release/${{ env.PROJECT_NAME_UNDERSCORE }} |