-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: 💚 workaround for cycjimmy/semantic-release-action#150
- Loading branch information
Showing
1 changed file
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,10 +62,12 @@ jobs: | |
name: Install dependencies (without binaries) | ||
run: npm ci | ||
|
||
# workaround for https://github.com/cycjimmy/semantic-release-action/issues/150 | ||
- run: cp package.release.config.js release.config.js | ||
- name: Action For Semantic Release | ||
uses: cycjimmy/[email protected] | ||
with: | ||
extends: "./package.release.config.js" | ||
#with: | ||
# extends: "./package.release.config.js" | ||
env: | ||
VSCE_TARGET: ${{ matrix.target }} | ||
GH_TOKEEN: ${{ secrets.SEMVER_TOKEN }} | ||
|
@@ -97,12 +99,15 @@ jobs: | |
|
||
- uses: actions/download-artifact@v3 | ||
|
||
# Only run on push events or pull requests coming from the same repository, except from dependabot | ||
# workaround for https://github.com/cycjimmy/semantic-release-action/issues/150 | ||
- run: cp publish.release.config.js release.config.js | ||
if: github.event_name == 'push' || github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' | ||
- name: Action For Semantic Release | ||
uses: cycjimmy/[email protected] | ||
# Only run on push events or pull requests coming from the same repository, except from dependabot | ||
if: github.event_name == 'push' || github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' | ||
with: | ||
extends: "./publish.release.config.js" | ||
#with: | ||
# extends: "./publish.release.config.js" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.SEMVER_TOKEN }} | ||
VSCE_PAT: ${{ secrets.VSCE_PAT }} | ||
|