fix: contributor correctly displayed (#1005) #209
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Please | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'openfoodfacts' | |
steps: | |
- name: Release-Please | |
id: release | |
uses: GoogleCloudPlatform/release-please-action@v4 | |
with: | |
token: ${{ secrets.OPENFOODFACTS_BOT_PAT }} | |
release-type: dart | |
# - name: Chekout code | |
# if: ${{ steps.release.outputs.release_created }} | |
# uses: actions/checkout@v3 | |
# | |
# - name: Setup Dart | |
# if: ${{ steps.release.outputs.release_created }} | |
# uses: dart-lang/[email protected] | |
# | |
# - name: Install dependencies | |
# if: ${{ steps.release.outputs.release_created }} | |
# run: dart pub get . | |
# | |
# - name: Set version | |
# if: ${{ steps.release.outputs.release_created }} | |
# run: dart pub global activate cider && cider version "${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}" | |
# | |
# - name: Setup credentials | |
# if: ${{ steps.release.outputs.release_created }} | |
# run: | | |
# cat <<EOF > $PUB_CACHE/credentials.json | |
# ${{ secrets.PUB_DEV_CREDENTIALS_JSON }} | |
# EOF | |
# | |
# - name: Publish package | |
# if: ${{ steps.release.outputs.release_created }} | |
# run: dart pub publish --force | |
# |