Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
Update build.yml
  • Loading branch information
SugarMGP committed Dec 5, 2024
1 parent 53235cd commit 0a0210b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 30 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build

on:
push:
pull_request:
branches:
- dev

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

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

- name: Build
run: go build -o 4u-online .

- name: Archive Output
run: |
mkdir -p artifacts
mv 4u-online artifacts/
cp README.md artifacts/
cp config.example.yaml artifacts/config.yaml
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: build-output
path: artifacts/
30 changes: 0 additions & 30 deletions makefile

This file was deleted.

0 comments on commit 0a0210b

Please sign in to comment.