diff --git a/.github/workflows/publish-on-release.yaml b/.github/workflows/publish-on-release.yaml index f5581b8..2b401e7 100644 --- a/.github/workflows/publish-on-release.yaml +++ b/.github/workflows/publish-on-release.yaml @@ -1,11 +1,12 @@ name: Publish Package to yarn on: - release: - types: [published] + push: + tags: + - "v*" jobs: - build: + publish-on-release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/release-on-version-bump.yml b/.github/workflows/release-on-version-bump.yml index 47c8e47..0b9e3a3 100644 --- a/.github/workflows/release-on-version-bump.yml +++ b/.github/workflows/release-on-version-bump.yml @@ -6,7 +6,7 @@ on: - main jobs: - publish: + release-on-version-bump: permissions: write-all runs-on: ubuntu-latest steps: