creativecreatorormaybenot
Committed by GitHub

Publish macOS (#88)

@@ -13,9 +13,10 @@ jobs: @@ -13,9 +13,10 @@ jobs:
13 strategy: 13 strategy:
14 matrix: 14 matrix:
15 package: 15 package:
16 - - 'wakelock'  
17 - - 'wakelock_platform_interface' 16 +# - 'wakelock'
  17 +# - 'wakelock_platform_interface'
18 - 'wakelock_web' 18 - 'wakelock_web'
  19 + - 'wakelock_macos'
19 fail-fast: false 20 fail-fast: false
20 21
21 steps: 22 steps:
@@ -51,19 +52,19 @@ jobs: @@ -51,19 +52,19 @@ jobs:
51 echo ::set-output name=changed::$? 52 echo ::set-output name=changed::$?
52 set -e 53 set -e
53 - name: Extract package version 54 - name: Extract package version
54 - if: steps.pubspec.outputs.changed == 0 55 +# if: steps.pubspec.outputs.changed == 0
55 run: | 56 run: |
56 cd ${{ matrix.package }} 57 cd ${{ matrix.package }}
57 echo "VERSION=$(awk '{if ($1 ~ /^version:/) print $2}' pubspec.yaml)" >> $GITHUB_ENV 58 echo "VERSION=$(awk '{if ($1 ~ /^version:/) print $2}' pubspec.yaml)" >> $GITHUB_ENV
58 - uses: sakebook/actions-flutter-pub-publisher@v1.3.1 59 - uses: sakebook/actions-flutter-pub-publisher@v1.3.1
59 - if: steps.pubspec.outputs.changed == 0 60 +# if: steps.pubspec.outputs.changed == 0
60 with: 61 with:
61 package_directory: ${{ matrix.package }} 62 package_directory: ${{ matrix.package }}
62 credential: ${{ secrets.PUB_CREDENTIALS }} 63 credential: ${{ secrets.PUB_CREDENTIALS }}
63 flutter_package: true 64 flutter_package: true
64 skip_test: true 65 skip_test: true
65 - name: Create Release 66 - name: Create Release
66 - if: steps.pubspec.outputs.changed == 0 67 +# if: steps.pubspec.outputs.changed == 0
67 id: create_release 68 id: create_release
68 uses: actions/create-release@v1.1.4 69 uses: actions/create-release@v1.1.4
69 env: 70 env: