Skip to content

Merge pull request #26 from pedrox-hs/release/logify/1.0.1 #1

Merge pull request #26 from pedrox-hs/release/logify/1.0.1

Merge pull request #26 from pedrox-hs/release/logify/1.0.1 #1

Workflow file for this run

name: Publish to pub.dev
on:
push:
tags:
- 'logify-v[0-9]+.[0-9]+.[0-9]+*'
jobs:
publish:
needs: package
permissions:
id-token: write # Required for authentication using OIDC
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
with:
working-directory: ${{ needs.package.outputs.name }}
package:
name: Get package name from tag
runs-on: ubuntu-latest
outputs:
name: ${{ steps.package.outputs.name }}
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Get package name
id: package
run: |
echo "name=$(echo ${{ github.ref }} | sed -E 's/.+?\/([a-z_]+?)-v.+$/\1/')" >> $GITHUB_OUTPUT