Skip to content

Commit

Permalink
action on release
Browse files Browse the repository at this point in the history
  • Loading branch information
hazae41 committed Jun 24, 2023
1 parent 564765f commit 681ce97
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on:
push:
tags:
- '*'

name: release

jobs:
check:
name: check
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
- run: "npm ci"
- run: "npm run build"
- run: "npm run zip"
- run: "wget https://github.com/brumewallet/wallet/releases/download/{{github.ref_name}}/chrome.zip"
- run: "wget https://github.com/brumewallet/wallet/releases/download/{{github.ref_name}}/firefox.zip"
- run: "wget https://github.com/brumewallet/wallet/releases/download/{{github.ref_name}}/safari.zip"
- run: "wget https://github.com/brumewallet/wallet/releases/download/{{github.ref_name}}/website.zip"
- run: "[[ -z $(diff ./dist/chrome.zip ./chrome.zip && diff ./dist/firefox.zip ./firefox.zip && diff ./dist/firefox.zip ./firefox.zip && diff ./dist/website.zip ./website.zip) ]]"

0 comments on commit 681ce97

Please sign in to comment.