diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3b745a6..7c424b0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,3 +23,10 @@ jobs: with: name: tsconfig-references path: packages/tsconfig-references/bundles + release: + runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') + steps: + - uses: actions/download-artifact@v1 + with: + name: tsconfig-references diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 228200b..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: Release -on: [push] - -jobs: - release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/download-artifact@v1 - with: - name: tsconfig-references