Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
Publish macOS (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
creativecreatorormaybenot committed Jan 17, 2021
1 parent bb59502 commit 9f80b2e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
strategy:
matrix:
package:
- 'wakelock'
- 'wakelock_platform_interface'
# - 'wakelock'
# - 'wakelock_platform_interface'
- 'wakelock_web'
- 'wakelock_macos'
fail-fast: false

steps:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 9f80b2e

Please sign in to comment.