feat: Refine SpendBudgetCard and integrate into PeriodSwitcherSheet #12
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release Minus | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| permissions: | |
| contents: write | |
| concurrency: | |
| group: release-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| release: | |
| name: Build signed APK and publish GitHub Release | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Make Gradle wrapper executable | |
| run: chmod +x ./gradlew | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: '3.3' | |
| bundler-cache: true | |
| - name: Validate release signing secrets | |
| env: | |
| MINUS_RELEASE_KEYSTORE_BASE64: ${{ secrets.MINUS_RELEASE_KEYSTORE_BASE64 }} | |
| MINUS_RELEASE_STORE_PASSWORD: ${{ secrets.MINUS_RELEASE_STORE_PASSWORD }} | |
| MINUS_RELEASE_KEY_ALIAS: ${{ secrets.MINUS_RELEASE_KEY_ALIAS }} | |
| MINUS_RELEASE_KEY_PASSWORD: ${{ secrets.MINUS_RELEASE_KEY_PASSWORD }} | |
| run: | | |
| test -n "$MINUS_RELEASE_KEYSTORE_BASE64" | |
| test -n "$MINUS_RELEASE_STORE_PASSWORD" | |
| test -n "$MINUS_RELEASE_KEY_ALIAS" | |
| test -n "$MINUS_RELEASE_KEY_PASSWORD" | |
| - name: Decode release keystore | |
| env: | |
| MINUS_RELEASE_KEYSTORE_BASE64: ${{ secrets.MINUS_RELEASE_KEYSTORE_BASE64 }} | |
| run: | | |
| echo "$MINUS_RELEASE_KEYSTORE_BASE64" | base64 --decode > release-keystore.jks | |
| - name: Run Fastlane release lane | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| VERSION_TAG: ${{ github.ref_name }} | |
| MINUS_RELEASE_STORE_FILE: ${{ github.workspace }}/release-keystore.jks | |
| MINUS_RELEASE_STORE_PASSWORD: ${{ secrets.MINUS_RELEASE_STORE_PASSWORD }} | |
| MINUS_RELEASE_KEY_ALIAS: ${{ secrets.MINUS_RELEASE_KEY_ALIAS }} | |
| MINUS_RELEASE_KEY_PASSWORD: ${{ secrets.MINUS_RELEASE_KEY_PASSWORD }} | |
| run: bundle exec fastlane android publish_github |