-
Notifications
You must be signed in to change notification settings - Fork 14
50 lines (41 loc) · 1.12 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Build AbyssVideoDownloader
on:
push:
branches:
- master
paths-ignore:
- "**.md"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build AbyssVideoDownloader
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Clone Repository
run: |
git clone https://github.com/abdlhay/AbyssVideoDownloader.git
cd AbyssVideoDownloader
- name: Make Gradle Executable
run: chmod +x AbyssVideoDownloader/gradlew
- name: Build AbyssVideoDownloader
run: |
cd AbyssVideoDownloader
./gradlew build
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v2.0.6
with:
tag_name: 1.4
name: AbyssVideoDownloader-v${{ github.run_number }}
files: AbyssVideoDownloader/build/libs/abyss-dl.jar
draft: true