We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8775512 commit 08ab7f3Copy full SHA for 08ab7f3
2 files changed
.github/workflows/example2.yml
.github/workflows/release.yml
@@ -0,0 +1,23 @@
1
+name: release-hello-world
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ build-hello-world:
8
+ permissions: write-all
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
13
+ - name: compile and run
14
+ run: g++ hello_world.cpp -o hello_world_mac
15
16
+ - name: Create Release
17
+ env:
18
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19
+ run: >-
20
+ gh release create ${{ github.ref_name }}
21
+ "hello_world_mac"
22
+ --generate-notes
23
+ --title "Version ${{ github.ref_name }}"
0 commit comments