Skip to content

change tag from

change tag from #3

Workflow file for this run

name: Publish to pub.dev
on:
push:
branches:
- changelog
# Publish using custom workflow
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: dart pub get
- name: Add version
run: |
echo -e "\n\nversion: ${GITHUB_REF_NAME##v}" >> pubspec.yaml
- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ secrets.NITRIC_BOT_TOKEN }}
fromTag: v1.0.0
toTag: v1.0.0
writeToFile: true
- name: Check Publish Warnings
run: dart pub publish --dry-run