From a7ccd6a43c3a37771069c2061622b830487ddff0 Mon Sep 17 00:00:00 2001 From: Andrew Kvapil Date: Wed, 19 Jun 2024 22:45:18 +0200 Subject: [PATCH] Clean up (#25) --- .github/workflows/rust.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 294b5f2..50ea19f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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' }} @@ -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