Skip to content

Commit 2d3dfbb

Browse files
Merge pull request #5 from scribam/github-actions
2 parents 9eb4102 + 4648af7 commit 2d3dfbb

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/build.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ env:
55

66
on:
77
push:
8-
branches: '*'
9-
tags: 'v*'
8+
branches:
9+
- '*'
10+
tags:
11+
- 'v*'
1012
pull_request:
1113
branches:
1214
- master
@@ -74,12 +76,12 @@ jobs:
7476
- name: Extract Version
7577
id: version
7678
if: startsWith(github.ref, 'refs/tags/v')
77-
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
79+
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
7880

7981
- name: Create Release
8082
id: create_release
8183
if: startsWith(github.ref, 'refs/tags/v')
82-
uses: softprops/action-gh-release@v1
84+
uses: softprops/action-gh-release@v2
8385
with:
8486
name: NetBSD ${{ steps.version.outputs.VERSION }}
8587
draft: true

0 commit comments

Comments
 (0)