Skip to content

Commit

Permalink
Zap.Store release
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaSat committed Oct 24, 2024
1 parent b88f9c6 commit 83a9e57
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
id: set_asset_name
run: |
TAG_NAME=${GITHUB_REF#refs/tags/}
echo "asset_name=pokey-universal-${TAG_NAME}.apk" >> $GITHUB_ENV
echo "::set-output asset_name=tag::$TAG_NAME"
- name: Upload APK Universal Asset
id: upload-release-asset-universal-apk
Expand All @@ -78,7 +78,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: app/build/outputs/apk/release/app-release-unsigned-signed.apk
asset_name: ${{ env.asset_name }}
asset_name: ${{ steps.set_asset_name.outputs.asset_name }}
asset_content_type: application/zip

- name: Get Zap.Store latest release
Expand All @@ -87,19 +87,19 @@ jobs:
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=tag::$TAG_NAME"
echo "::set-output zapstore_version=tag::$TAG_NAME"
- name: Publish to Zap.Store
id: publish-zap-store
run: |
git clone https://github.com/zapstore/zapstore-cli.git
cd zapstore
cd zapstore-cli
git fetch --tags
git checkout ${{ steps.get_latest_release.outputs.tag }}
git checkout ${{ steps.get-zap-store-release.outputs.zapstore_version }}
dart pub get
dart compile exe lib/main.dart -o build
cd $GITHUB_WORKSPACE
./zapstore/build publish pokey
./zapstore-cli/build publish pokey

0 comments on commit 83a9e57

Please sign in to comment.