Skip to content

Commit

Permalink
Change Github Actions runners (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
numbaa authored Oct 23, 2023
1 parent 933ec9d commit 2c1595f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:

build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build:
permissions:
contents: write
runs-on: ubuntu-20.04
runs-on: windows-2022
steps:
- uses: actions/checkout@v3

Expand All @@ -20,8 +20,8 @@ jobs:

- name: Build
run: |
env GOOS=linux GOARCH=amd64 go build -o relay-linux ./cmd/relay
env GOOS=windows GOARCH=amd64 go build -o relay-win.exe ./cmd/relay
$Env:GOOS="linux"; $Env:GOARCH="amd64"; go build -o relay-linux ./cmd/relay
$Env:GOOS="windows"; $Env:GOARCH="amd64"; go build -o relay-win.exe ./cmd/relay
- name: Release
uses: softprops/action-gh-release@v1
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@ go.work

/log

user.db
user.db

relay-win.exe
relay-linux

0 comments on commit 2c1595f

Please sign in to comment.