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 fb1ce07 commit 2854f5c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ 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 }}
cancel-in-progress: true
Expand All @@ -17,11 +22,6 @@ jobs:
permissions:
contents: write

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

steps:
- name: Set up JDK 21
uses: actions/setup-java@v4
Expand Down

0 comments on commit 2854f5c

Please sign in to comment.