Skip to content

Commit

Permalink
Publish Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushChothe committed Sep 22, 2023
1 parent a619cd2 commit 0936f70
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ on:
tags:
- "surrealdb_query_builder-v*.*.*"

env:
PUB_CREDENTIALS: ${{ secrets.PUB_CREDENTIALS }}

jobs:
vars:
runs-on: ubuntu-latest
outputs:
PUB_CREDENTIALS: ${{ secrets.PUB_CREDENTIALS }}
steps:
- run: echo "Exposing env vars"

build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_pub_publish.yml@v1
with:
dart_sdk: "stable"
pub_credentials: "$PUB_CREDENTIALS"
pub_credentials: ${{ needs.vars.outputs.PUB_CREDENTIALS }}

0 comments on commit 0936f70

Please sign in to comment.