Skip to content

Commit

Permalink
updated build action
Browse files Browse the repository at this point in the history
  • Loading branch information
OlehMarch committed Nov 21, 2023
1 parent e19ac7e commit 266b488
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/flutter_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,4 @@ jobs:
run: flutter packages pub publish --dry-run

- name: 'Publish Artifact'
uses: k-paxian/[email protected]
with:
credentialJson: ${{ secrets.PUB_CREDS }}
flutter: true
skipTests: true
run: flutter packages pub publish --force
12 changes: 12 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Publish to pub.dev

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
publish:
permissions:
id-token: write
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1

0 comments on commit 266b488

Please sign in to comment.