Compare commits

..

4 commits

Author SHA1 Message Date
Vadim
8e03d3e400 disable pre-release integration tests by default 2024-03-17 13:23:10 +01:00
Vadim
a01924ab19 typo 2024-03-17 10:19:57 +01:00
Vadim
667f95662e reverted temporary settings 2024-03-17 10:18:07 +01:00
Vadim
2e6495d2db auth with username + password 2024-03-17 09:44:55 +01:00
2 changed files with 7 additions and 12 deletions

View file

@ -26,7 +26,7 @@ on:
description: "Run integration tests" description: "Run integration tests"
required: true required: true
type: boolean type: boolean
default: true default: false
jobs: jobs:
run-integration-tests: run-integration-tests:
@ -80,11 +80,14 @@ jobs:
create-github-release: create-github-release:
name: Create Github release name: Create Github release
needs: [generate-release-notes] needs: [generate-release-notes]
if: false
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write
steps: steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Increment build number & replace version number - name: Increment build number & replace version number
run: bash ./.github/scripts/increment_build_number.sh ${{ github.event.inputs.version }} run: bash ./.github/scripts/increment_build_number.sh ${{ github.event.inputs.version }}
@ -130,7 +133,6 @@ jobs:
create-google-play-release: create-google-play-release:
name: Create Google Play release name: Create Google Play release
needs: [generate-release-notes] needs: [generate-release-notes]
if: false
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -200,7 +202,6 @@ jobs:
upload-to-app-store: upload-to-app-store:
name: Upload to App Store name: Upload to App Store
needs: [generate-release-notes] needs: [generate-release-notes]
if: ${{ always() }}
runs-on: macos-13 runs-on: macos-13
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -213,13 +214,7 @@ jobs:
name: m3_lightmeter_ipa name: m3_lightmeter_ipa
- name: Upload app to TestFlight - name: Upload app to TestFlight
env: run: xcrun altool --upload-app -f lightmeter.ipa -t ios -u ${{ secrets.APP_STORE_USERNAME }} -p ${{ secrets.APP_STORE_PASSWORD }}
API_KEY: AuthKey_${{ secrets.APP_STORE_API_KEY_ID }}.p8
run: |
mkdir -p ~/private_keys
bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_API_KEY }}" "${{ env.API_KEY }}"
cp "${{ env.API_KEY }}" ~/private_keys
xcrun altool --output-format xml --upload-app -f lightmeter.ipa -t ios --apiKey ${{ secrets.APP_STORE_API_KEY_ID }} --apiIssuer ${{ secrets.APP_STORE_ISSUER_ID }}
cleanup: cleanup:
name: Cleanup name: Cleanup

View file

@ -1,7 +1,7 @@
name: lightmeter name: lightmeter
description: Lightmeter app inspired by Material 3 design system. description: Lightmeter app inspired by Material 3 design system.
publish_to: "none" publish_to: "none"
version: 0.0.1+6 version: 0.17.2+48
environment: environment:
sdk: ">=3.0.0 <4.0.0" sdk: ">=3.0.0 <4.0.0"