diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 67b91fe..6a286a0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -100,7 +100,7 @@ jobs: yq -r '.version' 'pubspec.yaml' - name: Upload Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: "${{ steps.yq.outputs.result }}" token: ${{ secrets.TOKEN }} @@ -116,7 +116,8 @@ jobs: build-windows: runs-on: windows-latest - + permissions: + contents: write steps: - uses: actions/checkout@v4 with: @@ -155,7 +156,7 @@ jobs: yq -r '.version' 'pubspec.yaml' - name: Upload Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: "${{ steps.yq.outputs.result }}" token: ${{ secrets.TOKEN }}