diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fda3b76..2235561 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,18 +42,16 @@ jobs: done rm apksign.keystore PGP_KEY_FINGERPRINT="${{ steps.import_pgp_key.outputs.fingerprint }}" - gpg --batch --yes --delete-secret-keys "$PGP_KEY_FINGERPRINT" - gpg --batch --yes --delete-keys "$PGP_KEY_FINGERPRINT" - name: Extract Version id: extract_version run: | VERSION=$(grep -oP "currentVersion = '\K[^']+" lib/main.dart) - echo "::set-output name=version::$VERSION" + echo "version=$VERSION" >> $GITHUB_OUTPUT TAG=$(grep -oP "'.*\\\$currentVersion.*'" lib/main.dart | head -c -2 | tail -c +2 | sed "s/\$currentVersion/$VERSION/g") - echo "::set-output name=tag::$TAG" + echo "tag=$TAG" >> $GITHUB_OUTPUT if [ -n "$(echo $TAG | grep -oP '\-beta$')" ]; then BETA=true; else BETA=false; fi - echo "::set-output name=beta::$BETA" + echo "beta=$BETA" >> $GITHUB_OUTPUT - name: Create Tag uses: mathieudutour/github-tag-action@v6.1 @@ -71,10 +69,3 @@ jobs: artifacts: ./build/app/outputs/flutter-apk/*-release*.apk* generateReleaseNotes: true draft: true - - - name: Archive Reports For Job - uses: actions/upload-artifact@v3 - with: - name: reports - path: '*/build/reports' - if: ${{ always() }}