Update rust workflow

This commit is contained in:
James Musselman 2023-12-16 21:29:06 -06:00
parent 4924e7ece4
commit 7c958ce0bc

View file

@ -12,6 +12,13 @@ jobs:
run: cargo build --release run: cargo build --release
- name: Change directory to build directory - name: Change directory to build directory
run: cd /workspace/musselman/version_name_generator/target/release && ls run: cd /workspace/musselman/version_name_generator/target/release && ls
- uses: actions/upload-artifact@v3
with:
name: version_name_generator
path: version_name_generator
- uses: actions/download-artifact@v3
with:
name: version_name_generator
- name: Publish binary - name: Publish binary
uses: earl-warren/action-gh-release@v1 uses: earl-warren/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')