Skip to content

Commit

Permalink
Disable zapstore release
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaSat committed Oct 25, 2024
1 parent 8af8d0a commit f925c2d
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,26 @@ jobs:
distribution: 'temurin'
java-version: 17

- name: Setup Android SDK
uses: android-actions/setup-android@v3
with:
packages: 'platforms;android-34 build-tools;34.0.0'

- name: Verify apksigner
run: $ANDROID_SDK_ROOT/build-tools/34.0.0/apksigner --version

- name: Install Apktool
run: |
wget "https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool"
wget "https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.4.1.jar"
mv apktool_2.4.1.jar apktool.jar
sudo cp apktool /usr/local/bin
sudo cp apktool.jar /usr/local/bin
sudo chmod +x /usr/local/bin/apktool
sudo chmod +x /usr/local/bin/apktool.jar
- name: Verify Apktool Installation
run: apktool --version
# - name: Setup Android SDK
# uses: android-actions/setup-android@v3
# with:
# packages: 'platforms;android-34 build-tools;34.0.0'

# - name: Verify apksigner
# run: $ANDROID_SDK_ROOT/build-tools/34.0.0/apksigner --version

# - name: Install Apktool
# run: |
# wget "https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool"
# wget "https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.4.1.jar"
# mv apktool_2.4.1.jar apktool.jar
# sudo cp apktool /usr/local/bin
# sudo cp apktool.jar /usr/local/bin
# sudo chmod +x /usr/local/bin/apktool
# sudo chmod +x /usr/local/bin/apktool.jar

# - name: Verify Apktool Installation
# run: apktool --version

- name: Cache gradle
uses: actions/cache@v4
Expand Down Expand Up @@ -101,28 +101,28 @@ jobs:
asset_name: pokey-universal-${{ steps.set_asset_name.outputs.asset_tag }}.apk
asset_content_type: application/zip

- name: Get Zap.Store latest release
id: get-zap-store-release
run: |
LATEST_RELEASE=$(curl -s https://api.github.com/repos/zapstore/zapstore-cli/releases/latest)
TAG_NAME=$(echo $LATEST_RELEASE | jq -r .tag_name)
echo "Latest release tag: $TAG_NAME"
echo "::set-output name=zapstore_version::$TAG_NAME"
- name: Publish to Zap.Store
id: publish-zap-store
env:
NSEC: ${{ secrets.POKEY_NSEC }}
run: |
mkdir /home/runner/.zapstore
git clone https://github.com/zapstore/zapstore-cli.git
cd zapstore-cli
git fetch --tags
git checkout ${{ steps.get-zap-store-release.outputs.zapstore_version }}
dart pub get
dart compile exe lib/main.dart -o build
cd $GITHUB_WORKSPACE
APKSIGNER_PATH=$ANDROID_SDK_ROOT/build-tools/34.0.0/apksigner ./zapstore-cli/build publish pokey
# - name: Get Zap.Store latest release
# id: get-zap-store-release
# run: |
# LATEST_RELEASE=$(curl -s https://api.github.com/repos/zapstore/zapstore-cli/releases/latest)
# TAG_NAME=$(echo $LATEST_RELEASE | jq -r .tag_name)
# echo "Latest release tag: $TAG_NAME"
# echo "::set-output name=zapstore_version::$TAG_NAME"

# - name: Publish to Zap.Store
# id: publish-zap-store
# env:
# NSEC: ${{ secrets.POKEY_NSEC }}
# run: |
# mkdir /home/runner/.zapstore
# git clone https://github.com/zapstore/zapstore-cli.git
# cd zapstore-cli
# git fetch --tags
# git checkout ${{ steps.get-zap-store-release.outputs.zapstore_version }}
# dart pub get
# dart compile exe lib/main.dart -o build
# cd $GITHUB_WORKSPACE
# APKSIGNER_PATH=$ANDROID_SDK_ROOT/build-tools/34.0.0/apksigner ./zapstore-cli/build publish pokey



0 comments on commit f925c2d

Please sign in to comment.