From ac18ac82749775c455b91488ea0ed5b7cd9b2e42 Mon Sep 17 00:00:00 2001 From: Zane Schepke Date: Sat, 27 Jul 2024 04:53:16 -0400 Subject: [PATCH] fix: cd upload bug --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0242465..5165210 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -93,9 +93,9 @@ jobs: run: ./gradlew :app:assembleFdroidNightly -x test - if: ${{ inputs.release_type == '' || inputs.release_type == 'nightly' }} - run: echo "APK_PATH=$(find . -regex '^.*/build/outputs/apk/fdroid/nightly/.*\.apk$' -type f | head -1)" >> $GITHUB_OUTPUT + run: echo "APK_PATH=$(find . -regex '^.*/build/outputs/apk/fdroid/nightly/.*\.apk$' -type f | head -1)" >> $GITHUB_ENV - if: ${{ inputs.release_type != '' && inputs.release_type != 'nightly' }} - run: echo "APK_PATH=$(find . -regex '^.*/build/outputs/apk/fdroid/release/.*\.apk$' -type f | head -1)" >> $GITHUB_OUTPUT + run: echo "APK_PATH=$(find . -regex '^.*/build/outputs/apk/fdroid/release/.*\.apk$' -type f | head -1)" >> $GITHUB_ENV - name: Get version code if: ${{ inputs.release_type == 'release' || inputs.release_type == 'prerelease' }}