Skip to content

Commit ac18dea

Browse files
authored
💚 Fix artifacts release (#671)
## What does this change? https://github.com/FlutterGen/flutter_gen/actions/runs/13612602409/job/38051634384 Related to actions/upload-artifact#480 Also allows manual dispatch. ## Type of change - [x] Bug fix (non-breaking change which fixes an issue)
1 parent 381d7af commit ac18dea

File tree

1 file changed

+3
-22
lines changed

1 file changed

+3
-22
lines changed

‎.github/workflows/release.yml

+3-22
Original file line numberDiff line numberDiff line change
@@ -67,37 +67,18 @@ jobs:
6767

6868
- uses: actions/upload-artifact@v4
6969
with:
70-
name: sha256
70+
name: sha256-${{ strategy.job-index }}
7171
path: packages/command/bin/${{ matrix.target }}/fluttergen-${{ matrix.artifact_prefix }}.sha256
7272

73-
# - name: Setup credentials
74-
# if: startsWith(matrix.os, 'ubuntu')
75-
# run: |
76-
# mkdir -p ~/.pub-cache
77-
# cat <<eof > ~/.pub-cache/credentials.json
78-
# {
79-
# "accesstoken":"${{ secrets.CREDENTIALS_ACCESS_TOKEN }}",
80-
# "refreshtoken":"${{ secrets.CREDENTIALS_REFRESH_TOKEN }}",
81-
# "idtoken":"${{ secrets.CREDENTIALS_ID_TOKEN }}",
82-
# "tokenendpoint":"https://accounts.google.com/o/oauth2/token",
83-
# "scopes": [ "openid", "https://www.googleapis.com/auth/userinfo.email" ],
84-
# "expiration": 1664440281637
85-
# }
86-
# eof
87-
#
88-
# - name: Publish to pub.dev
89-
# if: startsWith(matrix.os, 'ubuntu')
90-
# run: |
91-
# melos publish --no-dry-run --yes
92-
9373
update:
9474
name: Update Homebrew tap
9575
runs-on: ubuntu-latest
9676
needs: build
9777
steps:
9878
- uses: actions/[email protected]
9979
with:
100-
name: sha256
80+
pattern: sha256-*
81+
merge-multiple: true
10182

10283
# GitHub Apps
10384
- name: Generate github apps token

0 commit comments

Comments
 (0)