-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (33 loc) · 961 Bytes
/
Copy pathauto_Release.yml
File metadata and controls
40 lines (33 loc) · 961 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: github action tag release
on:
push:
branches:
- master
jobs:
setup-build-deploy:
name: Setup, Build, and Deploy
runs-on: ubuntu-latest
permissions:
packages: write
contents: write
id-token: write
steps:
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
- name: '📦 Package windows x64'
run: |
cd ${{github.workspace}}
ls -al ./*
gh release upload ${{github.event.release.tag_name}} LICENSE
env:
GITHUB_TOKEN: ${{ github.TOKEN }}
shell: bash