Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mtgnoah committed Oct 11, 2023
1 parent d0c1c6e commit b3405df
Showing 1 changed file with 31 additions and 8 deletions.
39 changes: 31 additions & 8 deletions .github/workflows/seq-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,36 @@ on:
types: [labeled,synchronize,reopened]

jobs:
seq-release:
token-wallet-release:
runs-on: macos-latest-xl
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/tags/v') || contains(github.event.pull_request.labels.*.name, 'run release') }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20"
check-latest: true
cache: true
cache-dependency-path: |
go.sum
examples/tokenvm/go.sum
- name: Build wallet
working-directory: ./cmd/token-wallet
shell: bash
run: scripts/build.sh
env:
PUBLISH: false
- name: Archive Builds
uses: actions/upload-artifact@v3
with:
name: token-wallet
path: ./cmd/token-wallet/token-wallet.zip

seq-release:
# We build with 20.04 to maintain max compatibility: https://github.com/golang/go/issues/57328
runs-on: ubuntu-20.04
runs-on: ubuntu-20.04-32
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/tags/v') || contains(github.event.pull_request.labels.*.name, 'run release') }}
steps:
- name: Git checkout
Expand Down Expand Up @@ -57,11 +84,7 @@ jobs:
env:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Archive Builds
uses: actions/upload-artifact@v3
with:
name: dist
path: ./dist

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
cancel-in-progress: true

0 comments on commit b3405df

Please sign in to comment.