Update rust workflow
This commit is contained in:
parent
146acbd1c0
commit
4f081d9558
1 changed files with 17 additions and 13 deletions
|
@ -6,22 +6,26 @@ 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
|
||||||
- uses: actions/upload-artifact@v3
|
- name: Publish
|
||||||
with:
|
|
||||||
name: version_name_generator
|
|
||||||
path: ./target/release/version_name_generator
|
|
||||||
- uses: actions/download-artifact@v3
|
|
||||||
with:
|
|
||||||
name: version_name_generator
|
|
||||||
- name: Publish binary
|
|
||||||
uses: earl-warren/action-gh-release@v1
|
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
run: cargo publish
|
||||||
fail_on_unmatched_files: true
|
#- uses: actions/upload-artifact@v3
|
||||||
files: |
|
#with:
|
||||||
version_name_generator
|
#name: version_name_generator
|
||||||
|
#path: ./target/release/version_name_generator
|
||||||
|
#- uses: actions/download-artifact@v3
|
||||||
|
#with:
|
||||||
|
#name: version_name_generator
|
||||||
|
# - name: Publish binary
|
||||||
|
#uses: earl-warren/action-gh-release@v1
|
||||||
|
#if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
#with:
|
||||||
|
#fail_on_unmatched_files: true
|
||||||
|
#files: |
|
||||||
|
#version_name_generator
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue