Skip to content

Commit

Permalink
fix env
Browse files Browse the repository at this point in the history
  • Loading branch information
alann-maulana committed Apr 26, 2021
1 parent e79c735 commit 13a5dbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/pub-publish-test.yaml
Expand Up @@ -29,8 +29,5 @@ jobs:
- run: make
- run: make deps
- run: pub global activate dartdoc
- name: "Documenting package"
env:
FLUTTER_ROOT: ${{ env.FLUTTER_HOME }}
run: make docs
- run: make docs
- run: pub publish -n -v
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -22,7 +22,7 @@ pana:

docs:
rm -rf doc
pub global run dartdoc --exclude 'dart:async,dart:collection,dart:convert,dart:core,dart:developer,dart:io,dart:isolate,dart:math,dart:typed_data,dart:ui,dart:html_common,dart:ffi,dart:html,dart:js,dart:js_util' --ignore 'ambiguous-doc-reference' --sdk-dir '$(FLUTTER_ROOT)/bin/cache/dart-sdk'
pub global run dartdoc --exclude 'dart:async,dart:collection,dart:convert,dart:core,dart:developer,dart:io,dart:isolate,dart:math,dart:typed_data,dart:ui,dart:html_common,dart:ffi,dart:html,dart:js,dart:js_util' --ignore 'ambiguous-doc-reference' --sdk-dir '${FLUTTER_ROOT}/bin/cache/dart-sdk'

publish:
pub publish

0 comments on commit 13a5dbb

Please sign in to comment.