Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
flutter_wakelock
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
creativecreatorormaybenot
2021-01-17 23:43:41 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2021-01-17 23:43:41 +0000
Commit
9f80b2eb021eaf5a9bd4479267bfb647fc368e41
9f80b2eb
1 parent
bb59502e
Publish macOS (#88)
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
.github/workflows/publish.yml
.github/workflows/publish.yml
View file @
9f80b2e
...
...
@@ -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
:
...
...
Please
register
or
login
to post a comment