Skip to content

Commit

Permalink
fix: publish workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
barjin committed Nov 9, 2022
1 parent 770fe2d commit eada2a0
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ jobs:
if: steps.changed_packages.outputs.changed_packages != '0'
run: npm run build

- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GH_TOKEN }}"
prerelease: true
- name: Create a GH release from tag
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GH_TOKEN }}"
prerelease: true


- name: Release dev version for testing
Expand Down Expand Up @@ -124,10 +125,11 @@ jobs:
if: steps.changed_packages.outputs.changed_packages != '0'
run: npm run build

- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GH_TOKEN }}"
prerelease: false
- name: Create a GH release from tag
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GH_TOKEN }}"
prerelease: false

- name: Release latest version
if: steps.changed_packages.outputs.changed_packages != '0'
Expand Down

0 comments on commit eada2a0

Please sign in to comment.