From 2c12132e25c7b3de253f40c7f4bd2a0d50687315 Mon Sep 17 00:00:00 2001 From: Sergey Kupletsky Date: Sat, 14 Sep 2024 13:00:27 +0200 Subject: [PATCH] ci: add "Upload release artifacts" job --- .github/workflows/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c20cc99..075e287 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -73,6 +73,15 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npx semantic-release + - name: Upload release artifacts + uses: actions/upload-artifact@v3 + with: + name: release-artifacts + path: | + ./package.json + ./package-lock.json + ./CHANGELOG.md + docker: runs-on: ubuntu-latest needs: release @@ -82,6 +91,11 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - name: Download release artifacts + uses: actions/download-artifact@v3 + with: + name: release-artifacts + - name: Get build arguments id: vars run: |