added SSH key to iap repo

This commit is contained in:
Vadim 2023-03-26 16:31:46 +03:00
parent 7656f55662
commit b1f53076ce

View file

@ -7,9 +7,9 @@ name: Pull Request check
on: on:
push: push:
branches: [ "main" ] branches: ["main"]
pull_request: pull_request:
branches: [ "main" ] branches: ["main"]
jobs: jobs:
build: build:
@ -17,11 +17,18 @@ jobs:
timeout-minutes: 5 timeout-minutes: 5
steps: 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: actions/checkout@v3
- uses: subosito/flutter-action@v2 - uses: subosito/flutter-action@v2
with: with:
channel: "stable" channel: "stable"
- name: Check flutter version - name: Check flutter version
run: flutter --version run: flutter --version
@ -33,6 +40,5 @@ jobs:
- name: Analyze project source - name: Analyze project source
run: flutter analyze lib --fatal-infos run: flutter analyze lib --fatal-infos
# - name: Run tests # - name: Run tests
# run: flutter test # run: flutter test