diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b6b35488..8edda11c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,9 +5,6 @@ on: tag: description: 'Release Tag' required: true - upload: - description: 'Upload: If want ignore' - required: false publish: description: 'Publish: If want ignore' required: false @@ -100,36 +97,6 @@ jobs: mkdir apks find artifacts -name "*.apk" -exec cp {} apks \; ./ghr -delete -t "${{ github.token }}" -n "${{ github.event.inputs.tag }}" "${{ github.event.inputs.tag }}" apks - upload: - name: Upload Release - if: github.event.inputs.upload != 'y' - runs-on: ubuntu-latest - needs: build - steps: - - name: Donwload Artifacts - uses: actions/download-artifact@v4 - with: - name: APKs - path: artifacts - - name: Release - run: | - mkdir apks - find artifacts -name "*.apk" -exec cp {} apks \; - - function upload() { - for apk in $@; do - echo ">> Uploading $apk" - curl https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendDocument \ - -X POST \ - -F chat_id="${{ secrets.TELEGRAM_CHANNEL }}" \ - -F document="@$apk" \ - --silent --show-error --fail >/dev/null & - done - for job in $(jobs -p); do - wait $job || exit 1 - done - } - upload apks/* play: name: Build Play Bundle if: github.event.inputs.play != 'y' diff --git a/nb4a.properties b/nb4a.properties index b2847652..44a3b8d8 100644 --- a/nb4a.properties +++ b/nb4a.properties @@ -1,3 +1,3 @@ PACKAGE_NAME=moe.nb4a -VERSION_NAME=1.3.1 -VERSION_CODE=35 +VERSION_NAME=1.3.2 +VERSION_CODE=36