mirror of
https://github.com/BigJk/end_of_eden.git
synced 2026-02-06 10:48:09 +00:00
Added github action for release.
This commit is contained in:
parent
0f9987d305
commit
eb352f089e
0
github/header.png → .github/header.png
vendored
0
github/header.png → .github/header.png
vendored
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 456 KiB After Width: | Height: | Size: 456 KiB |
|
Before Width: | Height: | Size: 498 KiB After Width: | Height: | Size: 498 KiB |
28
.github/workflows/release.yaml
vendored
Normal file
28
.github/workflows/release.yaml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
releases-matrix:
|
||||
name: Release Go Binary
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
# build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64
|
||||
goos: [linux, windows, darwin]
|
||||
goarch: ["386", amd64, arm64]
|
||||
exclude:
|
||||
- goarch: "386"
|
||||
goos: darwin
|
||||
- goarch: arm64
|
||||
goos: windows
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: wangyoucao577/go-release-action@v1
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
project_path: "./cmd/game"
|
||||
binary_name: "end_of_eden"
|
||||
extra_files: "./assets/"
|
||||
goos: darwin
|
||||
goarch: arm64
|
||||
@ -1,5 +1,5 @@
|
||||
<p align="center">
|
||||
<img align="center" src="./github/header.png" />
|
||||
<img align="center" src=".github/header.png" />
|
||||
</p>
|
||||
|
||||
[](https://discord.gg/XpDvfvVuB2)
|
||||
@ -14,8 +14,8 @@
|
||||
|
||||
# Screenshots
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
|
||||
# How to play
|
||||
|
||||
Loading…
Reference in New Issue
Block a user