Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
Use a new blob upload action, which might play better on windows and mac (hopefully).
  • Loading branch information
JonathanGiles authored Jan 22, 2024
1 parent 9ef3675 commit 02a3d8b
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,22 @@ jobs:
- name: Build with Gradle
run: ./gradlew jlinkZip

- name: Upload to Azure Blob Storage
uses: bacongobbler/[email protected]
# - 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:
source_dir: 'build/dist'
container_name: 'downloads'
extra_args: '--destination-path scenic-view'
connection_string: ${{ secrets.ConnectionString }}
overwrite: 'true'
container_name: downloads
source_folder: build/dist
destination_folder: scenic-view
delete_if_exists: true

# - name: Purge Azure CDN
# uses: svanboxel/azure-purge-cdn@main
Expand Down

0 comments on commit 02a3d8b

Please sign in to comment.