mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-24 02:44:45 +01:00
Build action before pushing dist-tags
This commit is contained in:
parent
4528b66125
commit
7292a4ae99
1 changed files with 6 additions and 2 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -39,10 +39,14 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Tag & Release Action
|
- name: Build action
|
||||||
if: steps.changesets.outputs.published == 'true'
|
if: steps.changesets.outputs.published == 'true'
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Push dist-tags
|
||||||
|
if: steps.changesets.outputs.published == 'true'
|
||||||
|
uses: JasonEtco/build-and-tag-action@v2
|
||||||
with:
|
with:
|
||||||
tag_name: v${{ fromJSON(steps.changesets.outputs.publishedPackages)[0].version }}
|
tag_name: v${{ fromJSON(steps.changesets.outputs.publishedPackages)[0].version }}
|
||||||
uses: JasonEtco/build-and-tag-action@v2
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
|
Loading…
Reference in a new issue