Skip to content

Commit c51d0b0

Browse files
committed
💚 Fix ci
1 parent f24767e commit c51d0b0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
runs-on: ubuntu-latest
1212
outputs:
1313
changelog: ${{ steps.generate.outputs.changelog }}
14+
env:
15+
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
1416
steps:
1517
- uses: actions/checkout@v2
1618
with:

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,24 @@ jobs:
1313
runs-on: ubuntu-latest
1414
outputs:
1515
changelog: ${{ steps.generate.outputs.changelog }}
16+
env:
17+
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
1618
steps:
1719
- uses: actions/checkout@v2
1820
with:
1921
fetch-depth: 0
2022
- id: generate
2123
run: |
2224
changelog=$(./.github/scripts/generate-changelog.sh)
25+
echo $changelog
2326
echo "changelog<<EOF" >> $GITHUB_OUTPUT
2427
echo "${changelog}" >> $GITHUB_OUTPUT
2528
echo "EOF" >> $GITHUB_OUTPUT
2629
2730
build:
2831
needs: generate-changelog
32+
permissions:
33+
contents: write
2934
uses: LiRenTech/turbo-tauri/.github/workflows/turbo-tauri.yml@master
3035
with:
3136
android_key_alias: "upload"

0 commit comments

Comments
 (0)