Skip to content

publish: flutter_osm_web-v1.3.4 #45

publish: flutter_osm_web-v1.3.4

publish: flutter_osm_web-v1.3.4 #45

Workflow file for this run

name: osm_flutter_packages
on:
push:
tags:
- 'flutter_osm_interface-v[0-9]+.[0-9]+.[0-9]+*'
- 'flutter_osm_web-v[0-9]+.[0-9]+.[0-9]+*'
jobs:
find-package:
runs-on: ubuntu-latest
steps:
- id: sed
run: |
PACKAGE=$(echo "$GITHUB_REF" | sed 's#refs/tags/\([^-]*\)-.*#\1#')
echo "package=$PACKAGE">> "$GITHUB_OUTPUT"
echo "Prepare to publish \`$PACKAGE\`" >> "$GITHUB_STEP_SUMMARY"
outputs:
package: ${{steps.sed.outputs.package}}
# pana:
# runs-on: ubuntu-latest
# needs: find-package
# steps:
# - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
# - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
# - run: dart pub global activate pana
# - run: dart pub global run pana . >> "$GITHUB_STEP_SUMMARY"
# working-directory: ${{needs.find-package.outputs.package}}
publish:
#runs-on: ubuntu-latest
needs:
- find-package
#- pana
permissions:
id-token: write # Required for authentication using OIDC
uses: liodali/osm_flutter/.github/workflows/base_publish_pcks.yaml@02fecd87cfebf9fdb333a454d847ca2c8e87de2e
with:
environment: pub.dev
working-directory: ${{needs.find-package.outputs.package}}