From c1db954d9ed210394012110f92654ed8d79745e4 Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Wed, 2 Aug 2023 13:34:41 +1000 Subject: [PATCH] Fix workflows to include new actions (#42) --- .github/workflows/build-addon-on-push.yml | 8 +++++--- .github/workflows/mavencentral-publish.yml | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-addon-on-push.yml b/.github/workflows/build-addon-on-push.yml index d4f4a3ab..4100c2b0 100644 --- a/.github/workflows/build-addon-on-push.yml +++ b/.github/workflows/build-addon-on-push.yml @@ -13,11 +13,11 @@ jobs: # this is why we checkout into aar and build into asset steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: aar - name: Setup java - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: 11 distribution: 'adopt' @@ -40,7 +40,7 @@ jobs: cp aar/godotopenxrpico/src/main/jniLibs/arm64-v8a/README.md asset/addons/godotopenxr/export/pico/LICENSE.md cp aar/godotopenxrkhr/LICENSE asset/addons/godotopenxr/export/khr/LICENSE - name: Create Godot OpenXR loader addon artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: GodotOpenXRLoadersAddon path: | @@ -56,6 +56,8 @@ jobs: artifacts: "godotopenxrloadersaddon.zip" omitNameDuringUpdate: true omitBodyDuringUpdate: true + omitDraftDuringUpdate: true + omitPrereleaseDuringUpdate: true token: ${{ secrets.GITHUB_TOKEN }} if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') diff --git a/.github/workflows/mavencentral-publish.yml b/.github/workflows/mavencentral-publish.yml index f7aeaa8f..3825286b 100644 --- a/.github/workflows/mavencentral-publish.yml +++ b/.github/workflows/mavencentral-publish.yml @@ -12,9 +12,9 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up JDK 11 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: adopt java-version: 11