-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 838 Bytes
/
main.yml
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
name: Package Vapourmist
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
env:
ARCHIVE_NAME: Vapourmist_${{github.ref_name}}
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 50
- name: Build Archive
uses: edgarrc/action-7z@v1
with:
args: 7z a ${{env.ARCHIVE_NAME}}.7z "Data Files"
- name: Create Release
uses: notlmn/release-with-changelog@v3
with:
header: '### Changelog'
include-hash: true
include-range: true
token: ${{secrets.GITHUB_TOKEN}}
- name: Upload to Github
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
files: ${{env.ARCHIVE_NAME}}.7z