From 1cfc8bc1c7a6f4ca105a4771128a8ee24a80bb54 Mon Sep 17 00:00:00 2001 From: KoalaSat Date: Mon, 24 Oct 2022 22:29:48 +0200 Subject: [PATCH] Workflows Fix --- .github/workflows/android-build.yml | 2 +- .github/workflows/release.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml index 3b0e115..8b10013 100644 --- a/.github/workflows/android-build.yml +++ b/.github/workflows/android-build.yml @@ -40,5 +40,5 @@ jobs: - name: 'Upload .apk Release Artifact (for Release)' uses: actions/upload-artifact@v3 with: - name: nostros-$(git describe --tags --abbrev=0).apk + name: nostros-${{ github.ref_name }}.apk path: android/app/build/outputs/apk/release/app-release.apk diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d156b25..cd4e2d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: - name: 'Download APK Artifact' uses: actions/download-artifact@v3 with: - name: nostros-$(git describe --tags --abbrev=0).apk + name: nostros-${{ github.ref_name }}.apk path: . - name: 'Upload APK Asset' id: upload-release-asset @@ -40,5 +40,5 @@ jobs: with: upload_url: ${{ steps.create-release.outputs.upload_url }} asset_path: app-release.apk - asset_name: nostros-$(git describe --tags --abbrev=0).apk + asset_name: nostros-${{ github.ref_name }}.apk asset_content_type: application/apk \ No newline at end of file