Skip to content

Commit

Permalink
ci: add workflow for manual release
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs committed Sep 20, 2024
1 parent f4de71f commit a46c41a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release-manual.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: release for roller
on:
release:
types: [created]

jobs:
release:
name: manual release
runs-on: ubuntu-latest
permissions:
pull-requests: write
actions: read
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'

- name: Set up Go
uses: actions/setup-go@v5
with:
check-latest: true
go-version-file: go.mod

- name: Setup release environment
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |-
echo 'GITHUB_TOKEN=${{secrets.GITHUB_TOKEN}}' > .release-env
- name: Release publish
run: make release

0 comments on commit a46c41a

Please sign in to comment.