Skip to content

Commit

Permalink
Clean up (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
viluon authored Jun 19, 2024
1 parent 8a55a7f commit a7ccd6a
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,18 @@ jobs:
with:
version: v3.95
args: --best --lzma --color -v -o afx.upx
file: target/release/afx
files: |
target/release/afx
- name: upload build artifacts
uses: actions/upload-artifact@v4
with:
# Artifact name
name: Release binaries
# A file, directory or wildcard pattern that describes what to upload
path: |
target/release/afx
afx.upx
# The desired behavior if no files are found using the provided path.
retention-days: 90
- name: test
run: cargo test --verbose --release
- uses: actions/upload-artifact@v4
with:
name: binaries
retention-days: 90
path: |
afx.upx
target/release/afx
- name: test
run: cargo test --verbose --release
release:
needs: build-nix
if: ${{ github.ref == 'refs/heads/main' }}
Expand All @@ -88,7 +80,7 @@ jobs:
prerelease: true
fail_on_unmatched_files: true
files: |
release-files/*
binaries/*
name: afx preview
tag_name: latest
- name: publish release
Expand Down

0 comments on commit a7ccd6a

Please sign in to comment.