diff --git a/.github/scripts/release/release.sh b/.github/scripts/release/release.sh index 1163627..e0c4304 100755 --- a/.github/scripts/release/release.sh +++ b/.github/scripts/release/release.sh @@ -12,8 +12,4 @@ pushd ../../../ cider version $RELEASE_VERSION popd -npm run release -- --ci - -pushd ../../../ -dart pub publish -f -popd \ No newline at end of file +npm run release -- --ci \ No newline at end of file diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 0fb84e5..f685cbd 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -38,9 +38,13 @@ jobs: run: | git config --local user.email 'hello@rive.app' git config --local user.name ${{ github.actor }} - - name: Publish + - name: Release run: ./release.sh working-directory: ./.github/scripts/release env: GITHUB_AUTHOR: ${{ github.actor }} GITHUB_TOKEN: ${{ secrets.RIVE_REPO_PAT }} + - name: Publish + run: | + cat ~/.pub-cache/credentials.json + dart pub publish -f