Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use MetaMask/[email protected] #88

Merged
merged 1 commit into from
Aug 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
22 changes: 0 additions & 22 deletions scripts/check-release.sh

This file was deleted.