From b1f53076ced03c066ff41db2803296474d894d9f Mon Sep 17 00:00:00 2001 From: Vadim Date: Sun, 26 Mar 2023 16:31:46 +0300 Subject: [PATCH] added SSH key to iap repo --- .github/workflows/ci.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 730c14b..57ab252 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,9 +7,9 @@ name: Pull Request check on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: build: @@ -17,11 +17,18 @@ jobs: timeout-minutes: 5 steps: + - uses: shaunco/ssh-agent@git-repo-mapping + with: + ssh-private-key: | + ${{ secrets.M3_LIGHTMETER_IAP_KEY }} + repo-mappings: | + github.com/vodemn/m3_lightmeter_iap + - uses: actions/checkout@v3 - uses: subosito/flutter-action@v2 - with: - channel: "stable" - + with: + channel: "stable" + - name: Check flutter version run: flutter --version @@ -33,6 +40,5 @@ jobs: - name: Analyze project source run: flutter analyze lib --fatal-infos - # - name: Run tests # run: flutter test