Update rust workflow

This commit is contained in:
James Musselman 2023-12-17 12:24:06 -06:00
parent 4f081d9558
commit 2564c5e27a

View file

@ -6,14 +6,15 @@ jobs:
steps: steps:
- name: Set up Rust - name: Set up Rust
uses: msrd0/rust-toolchain@nightly uses: msrd0/rust-toolchain@nightly
run: wget https://git.privacyquest.net/musselman/action_config_files/raw/branch/main/config.toml
- name: Check out code - name: Check out code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Build binary - name: Build binary
run: cargo build --release run: cargo build --release
- name: Publish - name: Publish
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
run: cargo publish run: |
wget https://git.privacyquest.net/musselman/action_config_files/raw/branch/main/config.toml
cargo publish
#- uses: actions/upload-artifact@v3 #- uses: actions/upload-artifact@v3
#with: #with:
#name: version_name_generator #name: version_name_generator