Skip to content

Commit

Permalink
回滚到 v0.14.0 打包模式, 不再考虑 brew 等支持(依然接受外部PR)
Browse files Browse the repository at this point in the history
  • Loading branch information
chai2010 committed Aug 25, 2024
1 parent 0feb0c6 commit 0b5a078
Show file tree
Hide file tree
Showing 4 changed files with 384 additions and 94 deletions.
28 changes: 21 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,26 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
# go1.21 support wasip1/wasm
go-version: 1.21
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4

- run: go run ./builder

- name: Run Releaser
uses: ncipollo/release-action@v1
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.WA_DEPLOY }}
token: ${{ secrets.WA_DEPLOY }}
artifacts: "_output/*.zip,_output/*.checksums.txt"

- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.WA_DEPLOY_DOCKER}}

- name: 'Build Wa Image'
run: |
go build
docker build . --tag ghcr.io/wa-lang/wa:${{ github.ref_name }}
docker push ghcr.io/wa-lang/wa:${{ github.ref_name }}
86 changes: 0 additions & 86 deletions .goreleaser.yml

This file was deleted.

Loading

0 comments on commit 0b5a078

Please sign in to comment.