Skip to content

feat: add ability to list files in bucket and fix release workflow (#20) #6

feat: add ability to list files in bucket and fix release workflow (#20)

feat: add ability to list files in bucket and fix release workflow (#20) #6

Workflow file for this run

name: Publish to pub.dev
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*" # tag pattern on pub.dev: 'v{{version}'
# 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
env:
TAG_VERSION: ${{ github.event.release.tag_name }}
run: echo "\n\nversion: ${TAG_VERSION##v}" >> pubspec.yaml

Check failure on line 20 in .github/workflows/publish.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yaml

Invalid workflow file

You have an error in your yaml syntax on line 20
- name: Check Publish Warnings
run: dart pub publish --dry-run
- name: Publish
uses: k-paxian/[email protected]
with:
credentialJson: ${{ secrets.CREDENTIAL_JSON }}
skipTests: true