From 3245e7a2159aa29afb4453c1c72d71f3b977179f Mon Sep 17 00:00:00 2001 From: h-sumiya Date: Sat, 24 Aug 2024 21:55:18 +0900 Subject: [PATCH] fix workflows --- .github/workflows/android-release.yml | 3 +++ .github/workflows/windows_msix.yml | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index 6398260..81b3f04 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -5,6 +5,9 @@ on: tags: - "v*" workflow_dispatch: + +permissions: + contents: write jobs: build: diff --git a/.github/workflows/windows_msix.yml b/.github/workflows/windows_msix.yml index aefe1a5..b1edd7f 100644 --- a/.github/workflows/windows_msix.yml +++ b/.github/workflows/windows_msix.yml @@ -6,6 +6,9 @@ on: - "v*" workflow_dispatch: +permissions: + contents: write + jobs: build: name: Build and Release MSIX @@ -36,7 +39,7 @@ jobs: - name: Build MSIX env: KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} - run: echo y | flutter pub run msix:create --certificate-password "$env:KEY_PASSWORD" + run: echo y | flutter pub run msix:create --certificate-password "$env:KEY_PASSWORD" --output_path build/windows/runner/Release - name: Upload MSIX uses: actions/upload-artifact@v4 @@ -52,4 +55,4 @@ jobs: draft: false prerelease: false env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}