Skip to content

Commit a7bebab

Browse files
committed
Deploying to gh-pages from @ mindustry-antigrief/mindustry-client@cd7df92 🚀
0 parents  commit a7bebab

22 files changed

+3235
-0
lines changed

.github/workflows/build.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build Unstable
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout Commit
15+
uses: actions/checkout@v2
16+
17+
- name: Set up JDK 14
18+
uses: actions/setup-java@v1
19+
with:
20+
java-version: 14
21+
22+
- name: Build Client
23+
run: |
24+
git clone --depth=1 --branch=custom-client https://github.com/mindustry-antigrief/mindustry-client-v6
25+
cd mindustry-client-v6
26+
./gradlew desktop:dist -PclientBuild=${{ github.ref }} -PupdateUrl=${{ github.repository }}
27+
mv desktop/build/libs/Mindustry.jar desktop/build/libs/desktop.jar
28+
29+
- name: Upload Release Asset
30+
uses: svenstaro/upload-release-action@v2
31+
with:
32+
repo_token: ${{ secrets.GITHUB_TOKEN }}
33+
file: Mindustry/desktop/build/libs/desktop.jar
34+
tag: ${{ github.ref }}

0 commit comments

Comments
 (0)