-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
52 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: ci | ||
description: Executes Dart specific CI steps. | ||
|
||
inputs: | ||
type: | ||
description: The type of CI to run. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,30 +10,26 @@ jobs: | |
name: Publish to pub.dev | ||
permissions: | ||
id-token: write | ||
runs-on: ubuntu-latest | ||
runs-on: macos-latest-xlarge | ||
steps: | ||
# Checkout the repo | ||
- uses: actions/checkout@v3 | ||
|
||
# Install Flutter | ||
- name: Install and set Flutter version | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: '3.19.5' | ||
|
||
# Install Flutter and Dependencies | ||
- uses: ./.github/actions/dependencies | ||
|
||
# Setup Dart SDK | ||
- uses: dart-lang/setup-dart@v1 | ||
|
||
# Setup Dependencies | ||
- uses: ./.github/actions/dependencies | ||
|
||
# Publish | ||
- name: Check Publish Warnings | ||
shell: bash | ||
run: flutter pub publish --dry-run | ||
|
||
- name: Publish Package | ||
shell: bash | ||
run: flutter pub publish -f | ||
|
||
# Notify | ||
- name: Notify Channel | ||
uses: slackapi/[email protected] | ||
|
@@ -44,4 +40,7 @@ jobs: | |
payload: |- | ||
{ | ||
"text":"🚀 WalletConnectFlutterV2 *${{ github.ref_name }}* was just published at https://pub.dev/packages/walletconnect_flutter_v2" | ||
} | ||
} | ||
# Launch locally | ||
# act -j publish --container-architecture linux/amd64 -P macos-latest-xlarge=-self-hosted --secret-file .github/workflows/.env.secret -W .github/workflows/publish.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters