Skip to content

💚 Fix artifacts release #671

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 3 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,37 +67,18 @@ jobs:

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

# - name: Setup credentials
# if: startsWith(matrix.os, 'ubuntu')
# run: |
# mkdir -p ~/.pub-cache
# cat <<eof > ~/.pub-cache/credentials.json
# {
# "accesstoken":"${{ secrets.CREDENTIALS_ACCESS_TOKEN }}",
# "refreshtoken":"${{ secrets.CREDENTIALS_REFRESH_TOKEN }}",
# "idtoken":"${{ secrets.CREDENTIALS_ID_TOKEN }}",
# "tokenendpoint":"https://accounts.google.com/o/oauth2/token",
# "scopes": [ "openid", "https://www.googleapis.com/auth/userinfo.email" ],
# "expiration": 1664440281637
# }
# eof
#
# - name: Publish to pub.dev
# if: startsWith(matrix.os, 'ubuntu')
# run: |
# melos publish --no-dry-run --yes

update:
name: Update Homebrew tap
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/[email protected]
with:
name: sha256
pattern: sha256-*
merge-multiple: true

# GitHub Apps
- name: Generate github apps token
Expand Down