Skip to content

Commit

Permalink
ci: add continuous build
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin authored Dec 18, 2024
1 parent a677fbf commit 6be4344
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build

on:
push:
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22

- name: Test
run: go test -v ./...

- name: Build
run: go build -o steamgrid-proxy main.go

- uses: softprops/action-gh-release@v1
with:
token: "${{ secrets.GITHUB_TOKEN }}"
tag_name: "continuous"
prerelease: true
name: "Continuous Build"
files: |
steamgrid-proxy
- uses: actions/upload-artifact@v4
with:
name: steamgrid-proxy
path: |
steamgrid-proxy

0 comments on commit 6be4344

Please sign in to comment.