-
Notifications
You must be signed in to change notification settings - Fork 276
48 lines (39 loc) · 1.16 KB
/
pre-release-artifacts.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
name: Build Pre Release
on:
workflow_dispatch:
inputs:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: dev
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
- name: Read tag_latest and Save build info
id: tag_latest
env:
BUILD_TYPE: Beta
run: |
python ./.github/scripts/read_version_and_save_build_info.py
- name: Package Jar
run: |
chmod +x package.sh
./package.sh
chmod +x .github/scripts/package_launcher.sh
./.github/scripts/package_launcher.sh
- name: ZIP files
env:
VERSION_NUMBER: ${{ steps.tag_latest.outputs.value }}
run: |
chmod +x .github/scripts/gen_zip_for_pre_release.sh
./.github/scripts/gen_zip_for_pre_release.sh
- name: Upload artifacts(no jre)
uses: actions/upload-artifact@v3
with:
name: BilibiliDown.v${{steps.tag_latest.outputs.value}}.pre-release
path: ./BilibiliDown.v${{steps.tag_latest.outputs.value}}.pre-release.zip