Skip to content

Commit

Permalink
ci: add missing dart container config in publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen-meijer committed Jul 23, 2020
1 parent 309bd14 commit 3fac37b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: google/dart:2.8.4

steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/draft_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ jobs:
runs-on: ubuntu-latest
container:
image: google/dart:2.8.4

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install dependencies
run: pub get

- name: Add pub executables to path
run: echo "::add-path::$HOME/.pub-cache/bin"

Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/publish_to_pub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
container:
image: google/dart:2.8.4

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install dependencies
run: pub get

- name: Publish
run: |
echo "Copy credentials"
Expand All @@ -18,4 +24,4 @@ jobs:
echo "Run pub publish --force"
pub publish --force
env:
CREDENTIAL_JSON: ${{ secrets.CREDENTIAL_JSON }}
CREDENTIAL_JSON: ${{ secrets.CREDENTIAL_JSON }}

0 comments on commit 3fac37b

Please sign in to comment.