Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
masterrob94 authored Sep 15, 2023
1 parent 0fc205e commit c49ce98
Showing 1 changed file with 12 additions and 40 deletions.
52 changes: 12 additions & 40 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,9 @@ jobs:
cd ./build-a318ceo/out/
zip -r ../../${{ env.BUILD_DIR_NAME }}/${{ env.ZIP_NAME_A318 }} ./lvfr-horizonsim-airbus-a318-ceo/
cd ../../
- name: Upload to WebDAV
uses: bxb100/action-upload@main
with:
provider: webdav
provider_options: |
endpoint = ${{ secrets.NEXTCLOUD_URL }}
username = ${{ secrets.NEXTCLOUD_USERNAME }}
password = ${{ secrets.NEXTCLOUD_PASSWORD }}
root = /HorizonSimulations/Releases/
include: ./${{ env.BUILD_DIR_NAME }}/*.zip
- name: Upload to remote server
run: |
curl -X PUT -u ${{ secrets.NEXTCLOUD_USERNAME }}:${{ secrets.NEXTCLOUD_PASSWORD }} https://${{ secrets.NEXTCLOUD_URL }}/remote.php/dav/files/${{ secrets.NEXTCLOUD_USERNAME }}/HorizonSimulations/Releases/${{ env.ZIP_NAME_A318 }} -T ./${{ env.BUILD_DIR_NAME }}/${{ env.ZIP_NAME_A318 }}
build-a319:
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -134,16 +127,9 @@ jobs:
cd ./build-a319ceo/out/
zip -r ../../${{ env.BUILD_DIR_NAME }}/${{ env.ZIP_NAME_A319 }} ./lvfr-horizonsim-airbus-a319-ceo/
cd ../../
- name: Upload to WebDAV
uses: bxb100/action-upload@main
with:
provider: webdav
provider_options: |
endpoint = ${{ secrets.NEXTCLOUD_URL }}
username = ${{ secrets.NEXTCLOUD_USERNAME }}
password = ${{ secrets.NEXTCLOUD_PASSWORD }}
root = /HorizonSimulations/Releases/
include: ./${{ env.BUILD_DIR_NAME }}/*.zip
- name: Upload to remote server
run: |
curl -X PUT -u ${{ secrets.NEXTCLOUD_USERNAME }}:${{ secrets.NEXTCLOUD_PASSWORD }} https://${{ secrets.NEXTCLOUD_URL }}/remote.php/dav/files/${{ secrets.NEXTCLOUD_USERNAME }}/HorizonSimulations/Releases/${{ env.ZIP_NAME_A319 }} -T ./${{ env.BUILD_DIR_NAME }}/${{ env.ZIP_NAME_A319 }}
build-a320:
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -202,16 +188,9 @@ jobs:
cd ./build-a320ceo/out/
zip -r ../../${{ env.BUILD_DIR_NAME }}/${{ env.ZIP_NAME_A320 }} ./lvfr-horizonsim-airbus-a320-ceo/
cd ../../
- name: Upload to WebDAV
uses: bxb100/action-upload@main
with:
provider: webdav
provider_options: |
endpoint = ${{ secrets.NEXTCLOUD_URL }}
username = ${{ secrets.NEXTCLOUD_USERNAME }}
password = ${{ secrets.NEXTCLOUD_PASSWORD }}
root = /HorizonSimulations/Releases/
include: ./${{ env.BUILD_DIR_NAME }}/*.zip
- name: Upload to remote server
run: |
curl -X PUT -u ${{ secrets.NEXTCLOUD_USERNAME }}:${{ secrets.NEXTCLOUD_PASSWORD }} https://${{ secrets.NEXTCLOUD_URL }}/remote.php/dav/files/${{ secrets.NEXTCLOUD_USERNAME }}/HorizonSimulations/Releases/${{ env.ZIP_NAME_A320 }} -T ./${{ env.BUILD_DIR_NAME }}/${{ env.ZIP_NAME_A320 }}
build-a321:
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -270,13 +249,6 @@ jobs:
cd ./build-a321neo/out/
zip -r ../../${{ env.BUILD_DIR_NAME }}/${{ env.ZIP_NAME_A321 }} ./lvfr-horizonsim-airbus-a321-neo/
cd ../../
- name: Upload to WebDAV
uses: bxb100/action-upload@main
with:
provider: webdav
provider_options: |
endpoint = ${{ secrets.NEXTCLOUD_URL }}
username = ${{ secrets.NEXTCLOUD_USERNAME }}
password = ${{ secrets.NEXTCLOUD_PASSWORD }}
root = /HorizonSimulations/Releases/
include: ./${{ env.BUILD_DIR_NAME }}/*.zip
- name: Upload to remote server
run: |
curl -X PUT -u ${{ secrets.NEXTCLOUD_USERNAME }}:${{ secrets.NEXTCLOUD_PASSWORD }} https://${{ secrets.NEXTCLOUD_URL }}/remote.php/dav/files/${{ secrets.NEXTCLOUD_USERNAME }}/HorizonSimulations/Releases/${{ env.ZIP_NAME_A321 }} -T ./${{ env.BUILD_DIR_NAME }}/${{ env.ZIP_NAME_A321 }}

0 comments on commit c49ce98

Please sign in to comment.