From fd447567c48bf2bf0c45bf7c9c72885597bcc07e Mon Sep 17 00:00:00 2001 From: Pixkk <30828435+pixkk@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:26:48 +0300 Subject: [PATCH] Revert changes: ci.yml --- .github/workflows/ci.yml | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74e4b2de..f620387d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,30 +66,8 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v4 with: - name: app-release.apk + name: app-release path: android/app/build/outputs/apk/release/app-release.apk - - - name: Download APK using GitHub API - run: | - TOKEN="${{ secrets.TOKEN_SECRET }}" - OWNER="pixkk" - REPO="VueTube" - WORKFLOW_RUN_ID="${{ github.run_id }}" - - ARTIFACTS=$(curl -H "Authorization: token $TOKEN" \ - -H "Accept: application/vnd.github.v3+json" \ - https://api.github.com/repos/$OWNER/$REPO/actions/runs/$WORKFLOW_RUN_ID/artifacts) - - ARTIFACT_ID=$(echo $ARTIFACTS | jq '.artifacts[] | select(.name == "app-release") | .id') - - curl -L -H "Authorization: token $TOKEN" \ - -H "Accept: application/vnd.github.v3+json" \ - https://api.github.com/repos/$OWNER/$REPO/actions/artifacts/$ARTIFACT_ID/zip \ - --output artifact.zip - - unzip artifact.zip -d extracted - - mv extracted/app-release.apk ./app-release.apk ios: name: Build iOS platform runs-on: macos-latest @@ -135,5 +113,5 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v4 with: - name: VueTube.ipa + name: VueTube path: VueTube.ipa