diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 477f843..d82bf5a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,14 +24,4 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run build-release - - name: Archive Release - uses: thedoctor0/zip-release@master - with: - type: 'zip' - filename: 'release.zip' - path: 'dist' - - name: Upload Release - uses: ncipollo/release-action@v1 - with: - artifacts: "release.zip" - token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ed8aa1..4c6df4f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,4 +12,15 @@ jobs: with: node-version: '12.x' - run: npm ci - - run: npm run build-release \ No newline at end of file + - run: npm run build-release + - name: Archive Release + uses: thedoctor0/zip-release@master + with: + type: 'zip' + filename: 'release.zip' + path: 'dist' + - name: Upload Release + uses: ncipollo/release-action@v1 + with: + artifacts: "release.zip" + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file