mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-02-04 09:15:08 +01:00
Merge remote-tracking branch 'origin/main' into main
This commit is contained in:
25
.github/workflows/go.yml
vendored
25
.github/workflows/go.yml
vendored
@@ -4,7 +4,7 @@ on: [push]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: windows-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@@ -14,13 +14,28 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: 1.18
|
go-version: 1.18
|
||||||
|
|
||||||
- name: Build
|
- name: Build Linux-amd64
|
||||||
run: go build -v
|
run: env GOOS=linux GOARCH=amd64 go build -v
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload Linux-amd64 artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Erupe
|
name: Linux-amd64
|
||||||
|
path: |
|
||||||
|
./erupe-ce
|
||||||
|
./config.json
|
||||||
|
./www/
|
||||||
|
./savedata/
|
||||||
|
./bin/
|
||||||
|
./RoadShopItems.csv
|
||||||
|
|
||||||
|
- name: Build Windows-amd64
|
||||||
|
run: env GOOS=windows GOARCH=amd64 go build -v
|
||||||
|
|
||||||
|
- name: Upload Windows-amd64 artifacts
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: Windows-amd64
|
||||||
path: |
|
path: |
|
||||||
./erupe-ce.exe
|
./erupe-ce.exe
|
||||||
./config.json
|
./config.json
|
||||||
|
|||||||
Reference in New Issue
Block a user