Skip to content

Passing flutter version as input #18

Passing flutter version as input

Passing flutter version as input #18

Workflow file for this run

name: Publish auth0_flutter to pub.dev
on:
push:
branches:
- 'reversing_labs'
# tags:
# - 'af-v[0-9]+.[0-9]+.[0-9]+*'
permissions:
contents: write
id-token: write
env:
flutter: '3.x'
jobs:
rl-scanner:
uses: ./.github/workflows/rl-scanner.yml
with:
flutter: ${{ env.flutter }}

Check failure on line 21 in .github/workflows/publish-af.yml

View workflow run for this annotation

GitHub Actions / Publish auth0_flutter to pub.dev

Invalid workflow file

The workflow is not valid. .github/workflows/publish-af.yml (Line: 21, Col: 16): Unrecognized named-value: 'env'. Located at position 1 within expression: env.flutter
artifact-name: 'flutter-auth0-package.zip'
secrets:
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }}
PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }}
PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }}
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
publish:
name: Publish auth0_flutter to pub.dev
environment: ${{ github.event.pull_request.head.repo.fork && 'external' || 'internal' }}
needs: rl-scanner
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Flutter and Dart SDK
uses: ./.github/actions/setup-publish
with:
flutter: ${{ env.flutter }}
working-directory: auth0_flutter
# - name: Publish
# run: dart pub publish -f
# working-directory: auth0_flutter