Skip to content

Commit 546abc2

Browse files
authored
Simplify publish release action
1 parent 2287c65 commit 546abc2

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/publish_release.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ jobs:
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v1
15-
- name: Publish
16-
uses: caseyhillers/[email protected]
17-
with:
18-
credential: ${{ secrets.CREDENTIAL_JSON }}
19-
flutter_package: false
20-
skip_test: true
21-
dry_run: false
15+
- name: Setup credentials
16+
run: |
17+
mkdir -p ~/.pub-cache
18+
echo ${{ secrets.CREDENTIAL_JSON }} > ~/.pub-cache/credentials.json
19+
- name: Publish package
20+
run: pub publish -f

0 commit comments

Comments
 (0)