Skip to content

Commit

Permalink
add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bomgar committed Feb 12, 2024
1 parent fbdee3f commit af49c94
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
push:
tags:
- "v*"

env:
GO_VERSION: '1.22.0'

name: Release
jobs:
build:
name: Release (github.com)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- run: go build -o fbmirrors main.go
- id: create_release
uses: softprops/action-gh-release@v1
with:
files: |
fbmirrors
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit af49c94

Please sign in to comment.