File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,13 @@ jobs:
4040
4141
4242 - name : Build into gh-pages repo
43- run : PATH="$PATH:/usr/lib/dart/bin" pub global run webdev build -o web:/tmp/scadnano ; cp -r /tmp/scadnano/* gh-pages-repo
43+ run : PATH="$PATH:/usr/lib/dart/bin" dart pub global run webdev build -o web:/tmp/scadnano ; cp -r /tmp/scadnano/* gh-pages-repo
4444 - name : Retrieve version
4545 run : echo "VERSION=$(cat lib/src/constants.dart | grep 'const String CURRENT_VERSION = .*' | grep -oP '\d+\.\d+\.\d+')" >> $GITHUB_ENV
4646 - name : Build into gh-pages-repo/VERSION
4747 run : |
4848 if [ "$VERSION" != "" ]; then
49- PATH="$PATH:/usr/lib/dart/bin" pub global run webdev build -o web:gh-pages-repo/v$VERSION
49+ PATH="$PATH:/usr/lib/dart/bin" dart pub global run webdev build -o web:gh-pages-repo/v$VERSION
5050 else
5151 echo "::warning deploying VERSION skipped because VERSION number could not be found"
5252 fi
You can’t perform that action at this time.
0 commit comments