mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-06-06 03:42:20 +00:00
Attempting to fix gradle issues
This commit is contained in:
@@ -7,6 +7,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Make gradlew executable
|
||||
run: chmod +x ./gradlew
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
@@ -17,13 +19,13 @@ jobs:
|
||||
with:
|
||||
gradle-version: 'wrapper'
|
||||
- name: Build
|
||||
run: gradle build --no-daemon
|
||||
run: ./gradlew build --no-daemon
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Get Version Number from Gradle
|
||||
id: get_version
|
||||
run: |
|
||||
VERSION=$(gradle properties -q | awk -F': ' '/^version:/ {print $2; exit}')
|
||||
VERSION=$(./gradlew properties | awk -F': ' '/^version:/ {print $2; exit}')
|
||||
echo "VERSION=$VERSION" >> "$GITHUB_ENV"
|
||||
- name: Extract latest CHANGELOG entry
|
||||
id: changelog
|
||||
|
||||
@@ -12,6 +12,8 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Make gradlew executable
|
||||
run: chmod +x ./gradlew
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
@@ -22,7 +24,7 @@ jobs:
|
||||
with:
|
||||
gradle-version: 'wrapper'
|
||||
- name: Build
|
||||
run: gradle build --no-daemon
|
||||
run: ./gradlew build --no-daemon
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Upload AntiVPN
|
||||
|
||||
@@ -7,6 +7,8 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Make gradlew executable
|
||||
run: chmod +x ./gradlew
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
@@ -17,6 +19,6 @@ jobs:
|
||||
with:
|
||||
gradle-version: 'wrapper'
|
||||
- name: Build
|
||||
run: gradle build --no-daemon
|
||||
run: ./gradlew build --no-daemon
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user