forked from Kron4ek/Conty
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (42 loc) · 1.24 KB
/
conty-autorelease.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
43
44
45
46
47
48
49
50
51
52
name: Conty AutoRelease CI
on:
schedule:
- cron: '0 0 * * 5'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-codeql: 'true'
- uses: actions/checkout@v3
- name: Build Conty
run: |
chmod +x create-arch-bootstrap.sh create-conty.sh
sudo ./create-arch-bootstrap.sh && ./create-conty.sh
if [ "$(stat -c%s conty.sh)" -gt 2097152000 ]; then
split -b 2097152000 --numeric-suffixes=1 conty.sh conty.sh_part
rm conty.sh
fi
- uses: dev-drprasad/[email protected]
with:
tag_name: continuous
github_token: ${{ secrets.GITHUB_TOKEN }}
delete_release: true
- uses: rickstaa/action-create-tag@v1
id: "tag_create"
with:
tag: "continuous"
- uses: softprops/action-gh-release@v1
with:
files: ./conty.sh*
prerelease: true
draft: false
tag_name: continuous
name: Continuous build