Skip to content

Commit

Permalink
ci: Try to fix
Browse files Browse the repository at this point in the history
Change-Id: I502575d710dd37a1a2ec2cbb43592feff8c623c1
  • Loading branch information
calcitem committed Jan 27, 2025
1 parent 99d258c commit 9338647
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/aab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,20 +107,16 @@ jobs:
id: auth
uses: google-github-actions/auth@v2
with:
token_format: iam_json # Obtain JSON format credentials
workload_identity_provider: "projects/391539675971/locations/global/workloadIdentityPools/github-pool/providers/github-provider"
workload_identity_provider: "projects/391539675971/locations/global/workloadIdentityPools/play-store-pool/providers/github-provider"
service_account: "[email protected]"

# Write credentials to a temporary file
- name: Write credentials to file
run: |
echo "${{ steps.auth.outputs.credential_json }}" > /tmp/credentials.json
create_credentials_file: true
export_environment_variables: true

# Upload to Google Play Store
- name: Upload to Google Play Store
uses: swootte/[email protected]
with:
serviceAccountJson: /tmp/credentials.json # Path to temporary credentials file
serviceAccountJson: ${{ steps.auth.outputs.credentials_file_path }}
packageName: com.calcitem.sanmill
releaseFile: src/ui/flutter_app/build/app/outputs/bundle/release/app-release.aab
track: internal
Expand All @@ -130,3 +126,4 @@ jobs:
mappingFile: src/ui/flutter_app/build/app/outputs/mapping/release/mapping.txt
status: draft
changesNotSentForReview: true

11 changes: 2 additions & 9 deletions .github/workflows/snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,9 @@ jobs:
sudo snap install lxd
sudo lxd init --auto
- name: Add GitHub Actions user to the lxd group
run: |
sudo usermod -aG lxd $(whoami)
newgrp lxd
- name: Verify LXD Installation
run: lxd --version

- name: Build snap using LXD
run: snapcraft --use-lxd
run: |
sg lxd -c 'snapcraft --use-lxd'
- name: List Snap Files
run: ls -la *.snap
Expand Down
1 change: 1 addition & 0 deletions distribution/whatsnew/en-US.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bug fixes and performance improvements.

0 comments on commit 9338647

Please sign in to comment.