File tree Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -46,22 +46,15 @@ jobs:
46
46
47
47
- name : Create Release
48
48
id : create_release
49
- uses : actions/create-release@v1
49
+ run : |
50
+ gh release create ${{ github.run_number }} --title "Release v${{ github.run_number }}" --generate-notes
50
51
env :
51
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52
- with :
53
- tag_name : ${{ github.run_number }}
54
- release_name : Release v${{ github.run_number }}
55
- draft : false
56
- prerelease : false
52
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
57
53
58
54
- name : Upload Release Asset
59
55
id : upload-release-asset
60
- uses : actions/upload-release-asset@v1
56
+ run : |
57
+ cp main.yaml template.yaml
58
+ gh release upload ${{ github.run_number }} template.yaml
61
59
env :
62
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
63
- with :
64
- upload_url : ${{ steps.create_release.outputs.upload_url }}
65
- asset_path : ./main.yaml
66
- asset_name : template.yaml
67
- asset_content_type : application/yaml
60
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ main.yaml
2
2
functions /* -pkg.py
3
3
* -build.yaml
4
4
* -pkg.yaml
5
+ .venv /
You can’t perform that action at this time.
0 commit comments