creativecreatorormaybenot
Committed by GitHub

Publish macOS (#88)

... ... @@ -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/actions-flutter-pub-publisher@v1.3.1
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/create-release@v1.1.4
env:
... ...