Skip to content

Commit acc2c0c

Browse files
committed
Use same action as stacks-core for github release workflow
1 parent a4c4077 commit acc2c0c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/onPushToMain.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: version, tag and github release
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [main]
67

@@ -46,11 +47,11 @@ jobs:
4647
git push -u origin ${{ github.ref_name }}
4748
fi
4849
- name: Create Github Release
49-
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5
50+
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda #v2.2.1
5051
if: ${{ steps.version-check.outputs.skipped == 'false' }}
5152
with:
5253
name: ${{ steps.version-check.outputs.tag }}
53-
tag: ${{ steps.version-check.outputs.tag }}
54-
commit: ${{ github.ref_name }}
55-
token: ${{ secrets.GH_TOKEN }}
56-
skipIfReleaseExists: true
54+
tag_name: ${{ steps.version-check.outputs.tag }}
55+
target_commitish: ${{ github.sha }}
56+
make_latest: true
57+
generate_release_notes: true

0 commit comments

Comments
 (0)