This commit is contained in:
@@ -3,8 +3,8 @@ name: make-a-release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
- "v*.*.*"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: fedora-cloud-42
|
||||
@@ -20,8 +20,13 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Build
|
||||
run: echo ${{ github.sha }} > Release.txt
|
||||
- name: Test
|
||||
run: cat Release.txt
|
||||
|
||||
- name: Release
|
||||
- uses: https://git.phyllo.me/devops/action-gh-release@v2
|
||||
if: github.ref_type == 'tag'
|
||||
with:
|
||||
files: |-
|
||||
release-notes.txt
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
files: Release.txt
|
||||
Reference in New Issue
Block a user