mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
build: Add automated release actions
This commit is contained in:
parent
f732de20de
commit
c706846eef
1 changed files with 20 additions and 0 deletions
20
.github/workflows/release.yaml
vendored
Normal file
20
.github/workflows/release.yaml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Release
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
version: ${{ steps.semrel.outputs.version }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: go-semantic-release/action@v1
|
||||||
|
id: semrel
|
||||||
|
name: Release
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue