-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (35 loc) · 1021 Bytes
/
release.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
37
38
39
40
41
42
name: Release
on:
push:
tags:
- "v*"
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install zip
run: |
sudo apt-get update
sudo apt-get install zip
- name: Package the files
run: |
mkdir package
cd package
mkdir Mods
mkdir base
cp ${{github.workspace}}/EternalBins/* base
rm base/readme.md
cp ${{github.workspace}}/EternalModInjectorShell/EternalModInjectorShell.sh .
zip -r EternalModInjectorShell.zip EternalModInjectorShell.sh base Mods
tar -czvf EternalModInjectorShell.tar.gz EternalModInjectorShell.sh base Mods
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
automatic_release_tag: "${{ github.ref_name }}"
files: |
**/EternalModInjectorShell.tar.gz
**/EternalModInjectorShell.zip