From 153dcdccc4c5fd3294a7407dc583f88a9180568d Mon Sep 17 00:00:00 2001 From: 255doesnotexist <1293883574jcy@gmail.com> Date: Sat, 12 Oct 2024 19:09:47 +0800 Subject: [PATCH] ci(release): fix artifacts uploading name... --- .github/workflows/release.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c2a361b..bd24733 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,8 +39,8 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v3 with: - name: lintestor-${{ matrix.target }} - path: target/${{ matrix.target }}/release/lintestor-${{ matrix.target }} + name: lintestor-${{ matrix.target }}-${{ steps.date.outputs.date }} + path: target/${{ matrix.target }}/release/lintestor-${{ matrix.target }}-${{ steps.date.outputs.date }} create-release: needs: build @@ -69,9 +69,9 @@ jobs: tag_name: release-${{ steps.date.outputs.date }} name: Nightly Release ${{ steps.date.outputs.date }} files: | - artifacts/lintestor-x86_64-unknown-linux-gnu-* - artifacts/lintestor-i686-unknown-linux-gnu-* - artifacts/lintestor-aarch64-unknown-linux-gnu-* - artifacts/lintestor-armv7-unknown-linux-gnueabihf-* - artifacts/lintestor-riscv64gc-unknown-linux-gnu-* + artifacts/lintestor-x86_64-unknown-linux-gnu-${{ steps.date.outputs.date }} + artifacts/lintestor-i686-unknown-linux-gnu-${{ steps.date.outputs.date }} + artifacts/lintestor-aarch64-unknown-linux-gnu-${{ steps.date.outputs.date }} + artifacts/lintestor-armv7-unknown-linux-gnueabihf-${{ steps.date.outputs.date }} + artifacts/lintestor-riscv64gc-unknown-linux-gnu-${{ steps.date.outputs.date }} token: ${{ secrets.GITHUB_TOKEN }}