Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanGiles authored Jan 22, 2024
1 parent 2e2b673 commit 6b41420
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
java: ['17.0.9', '21.0.1']
java: ['11', '17', '21']
fail-fast: false
max-parallel: 4
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}

steps:
- uses: actions/checkout@v2

# # Based on https://medium.com/@shilyndon/purging-azure-cdn-with-github-actions-1c18e2adaf18
# - name: Azure service principal login
# uses: azure/login@v1
# with:
# creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Set up JDK
uses: actions/setup-java@v1
with:
Expand All @@ -40,14 +34,6 @@ jobs:
- name: Build with Gradle
run: ./gradlew jlinkZip

# - name: Upload to Azure Blob Storage
# uses: bacongobbler/[email protected]
# with:
# source_dir: 'build/dist'
# container_name: 'downloads'
# extra_args: '--destination-path scenic-view'
# connection_string: ${{ secrets.ConnectionString }}
# overwrite: 'true'
- uses: LanceMcCarthy/Action-AzureBlobUpload@v2
name: Azure Blob Upload
with:
Expand All @@ -56,14 +42,3 @@ jobs:
source_folder: build/dist
destination_folder: scenic-view
delete_if_exists: true

# - name: Purge Azure CDN
# uses: svanboxel/azure-purge-cdn@main
# with:
# cdn_endpoint: Jonathangiles
# cdn_profile_name: ${{ secrets.AZURE_CDN_PROFILE_NAME }}
# resource_group: ${{ secrets.AZURE_RESOURCE_GROUP }}

# - name: Azure service principal logout
# run: |
# az logout

0 comments on commit 6b41420

Please sign in to comment.