Skip to content

Commit

Permalink
fix: [ci] github ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
YumNumm committed Jul 11, 2023
1 parent 13abf8b commit fd8d638
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 4 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/android-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Flutter build Android(r)

on:
push:
branches: [main]
branches: [main, release/*]
workflow_dispatch:

jobs:
Expand All @@ -13,6 +13,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up ssh
run: |
mkdir -p ~/.ssh
echo "$SSH_ID_ED25519" | tr -d '\r' > ~/.ssh/id_rsa
chmod 700 ~/.ssh/id_rsa
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_rsa
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
- uses: pocket-apps/action-setup-firebase@v2
with:
firebase-token: ${{ secrets.FIREBASE_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/arv-updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
with:
fetch-depth: 1

- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"

- name: Install dependencies
run: |
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/ios-beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: iOS CI
on:
workflow_dispatch:
push:
branches: [main, develop]
branches: [main, release/*]

jobs:
build:
Expand All @@ -16,6 +16,15 @@ jobs:
#リポジトリからソースをダンロード
- uses: actions/checkout@v2

- name: Set up ssh
run: |
mkdir -p ~/.ssh
echo "$SSH_ID_ED25519" | tr -d '\r' > ~/.ssh/id_rsa
chmod 700 ~/.ssh/id_rsa
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_rsa
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
- name: Install brew packages
run: brew bundle

Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/tag-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up ssh
run: |
mkdir -p ~/.ssh
echo "$SSH_ID_ED25519" | tr -d '\r' > ~/.ssh/id_rsa
chmod 700 ~/.ssh/id_rsa
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_rsa
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
- uses: pocket-apps/action-setup-firebase@v2
with:
firebase-token: ${{ secrets.FIREBASE_TOKEN }}
Expand Down

0 comments on commit fd8d638

Please sign in to comment.