diff --git a/.github/workflows/backend-ci.yml b/.github/workflows/backend-ci.yml index ab84f59..0380065 100644 --- a/.github/workflows/backend-ci.yml +++ b/.github/workflows/backend-ci.yml @@ -59,11 +59,13 @@ jobs: run: npm run build - name: Upload Build Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: backend-build + name: backend-build-${{ github.run_id }} path: dist retention-days: 7 + compression-level: 6 + if-no-files-found: error release: needs: test-and-build @@ -74,14 +76,14 @@ jobs: - uses: actions/checkout@v3 - name: Download Build Artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: backend-build + name: backend-build-${{ github.run_id }} path: dist - name: Get Current Date id: date - run: echo "date=$(date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_OUTPUT + run: echo "date=$(date +'%Y-%m-%d %H:%M:%SS')" >> $GITHUB_OUTPUT - name: Create Release uses: actions/create-release@v1 @@ -100,5 +102,6 @@ jobs: ${{ github.event.head_commit.message }} 🔗 Commit: ${{ github.sha }} + 🆔 Build ID: ${{ github.run_id }} draft: false prerelease: false \ No newline at end of file