Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
iansinnott committed Aug 20, 2023
1 parent 974c084 commit 9ada2db
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/go-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ on:
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

# Matrix strategy
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
GOOS: [linux, darwin]
GOARCH: [amd64, arm64]

steps:
- name: Set up Go 1.x
Expand Down Expand Up @@ -41,7 +42,6 @@ jobs:
run: echo ::set-output name=VERSION::$(echo $(git describe --tags --always))

- name: Create Release
if: ${{ matrix.os == 'ubuntu-latest' }}
id: create_release
uses: actions/create-release@v1
env:
Expand All @@ -59,6 +59,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./dist/browser-gopher-${{ steps.get_version.outputs.VERSION }}/browser-gopher
asset_name: browser-gopher-${{ steps.get_version.outputs.VERSION }}-${{ matrix.os }}
asset_path: ./dist/browser-gopher-${{ steps.get_version.outputs.VERSION }}/browser-gopher-linux-amd64
asset_name: browser-gopher-${{ steps.get_version.outputs.VERSION }}-linux-amd64
asset_content_type: application/octet-stream

0 comments on commit 9ada2db

Please sign in to comment.