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
2020-10-04 18:39:17 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2020-10-04 18:39:17 +0000
Commit
23bc9cf03fbdc7f2585910642d2f894411e03ae1
23bc9cf0
1 parent
4b18658e
Automated publishing 馃殌 (#44)
* Automated publishing 馃殌 * Indentation
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
22 deletions
.github/workflows/publish.yml
.github/workflows/publish.yml
View file @
23bc9cf
...
...
@@ -27,7 +27,7 @@ jobs:
publish
:
needs
:
pana
timeout-minutes
:
2
timeout-minutes
:
4
runs-on
:
ubuntu-latest
name
:
Publishing of ${{ matrix.package }}
strategy
:
...
...
@@ -40,27 +40,6 @@ jobs:
steps
:
-
uses
:
actions/checkout@v2.3.3
-
uses
:
sakebook/actions-flutter-pub-publisher@v1.3.1
with
:
package_directory
:
${{ matrix.package }}
credential
:
${{ secrets.PUB_CREDENTIALS }}
flutter_package
:
true
skip_test
:
true
tag-release
:
needs
:
publish
timeout-minutes
:
1
runs-on
:
ubuntu-latest
name
:
Tagging of ${{ matrix.package }}
strategy
:
matrix
:
package
:
-
wakelock
-
wakelock_web
-
wakelock_platform_interface
steps
:
-
uses
:
actions/checkout@v2
with
:
fetch-depth
:
2
...
...
@@ -76,6 +55,13 @@ jobs:
run
:
|
cd ${{ matrix.package }}
echo ::set-env name=VERSION::"$(awk '{if ($1 ~ /^version:/) print $2}' pubspec.yaml)"
-
uses
:
sakebook/actions-flutter-pub-publisher@v1.3.1
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
id
:
create_release
...
...
Please
register
or
login
to post a comment