generated from MetaMask/metamask-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bc54808
commit 38f0002
Showing
2 changed files
with
6 additions
and
35 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 |
---|---|---|
|
@@ -5,29 +5,22 @@ on: | |
branches: [main] | ||
|
||
jobs: | ||
check-release: | ||
is-release: | ||
# release merge commits come from GitHub user | ||
if: github.event.head_commit.committer.name == 'GitHub' | ||
outputs: | ||
IS_RELEASE: ${{ steps.check-release.outputs.IS_RELEASE }} | ||
IS_RELEASE: ${{ steps.is-release.outputs.IS_RELEASE }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.sha }} | ||
# we need this commit + the last so we can compare below | ||
fetch-depth: 2 | ||
# exit early if the version has not changed | ||
- name: Check Release | ||
id: check-release | ||
run: ./scripts/check-release.sh ${{ github.event.before }} | ||
- uses: MetaMask/[email protected] | ||
id: is-release | ||
|
||
publish-release: | ||
permissions: | ||
contents: write | ||
if: needs.check-release.outputs.IS_RELEASE == 'true' | ||
if: needs.is-release.outputs.IS_RELEASE == 'true' | ||
runs-on: ubuntu-latest | ||
needs: check-release | ||
needs: is-release | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
|
This file was deleted.
Oops, something went wrong.