This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 237
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
1 parent
bb59502
commit 9f80b2e
Showing
1 changed file
with
6 additions
and
5 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 |
---|---|---|
|
@@ -13,9 +13,10 @@ jobs: | |
strategy: | ||
matrix: | ||
package: | ||
- 'wakelock' | ||
- 'wakelock_platform_interface' | ||
# - 'wakelock' | ||
# - 'wakelock_platform_interface' | ||
- 'wakelock_web' | ||
- 'wakelock_macos' | ||
fail-fast: false | ||
|
||
steps: | ||
|
@@ -51,19 +52,19 @@ jobs: | |
echo ::set-output name=changed::$? | ||
set -e | ||
- name: Extract package version | ||
if: steps.pubspec.outputs.changed == 0 | ||
# if: steps.pubspec.outputs.changed == 0 | ||
run: | | ||
cd ${{ matrix.package }} | ||
echo "VERSION=$(awk '{if ($1 ~ /^version:/) print $2}' pubspec.yaml)" >> $GITHUB_ENV | ||
- uses: sakebook/[email protected] | ||
if: steps.pubspec.outputs.changed == 0 | ||
# if: steps.pubspec.outputs.changed == 0 | ||
with: | ||
package_directory: ${{ matrix.package }} | ||
credential: ${{ secrets.PUB_CREDENTIALS }} | ||
flutter_package: true | ||
skip_test: true | ||
- name: Create Release | ||
if: steps.pubspec.outputs.changed == 0 | ||
# if: steps.pubspec.outputs.changed == 0 | ||
id: create_release | ||
uses: actions/[email protected] | ||
env: | ||
|