Skip to content

Merge pull request #32 from syaiful-aa/dev/3.0.4 #2

Merge pull request #32 from syaiful-aa/dev/3.0.4

Merge pull request #32 from syaiful-aa/dev/3.0.4 #2

name: Publish Cloudsmith
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
env:
CLOUDSMITH_REPOSITORY: https://dart.cloudsmith.io/agriaku-engineering/agriaku_design_system/
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# - name: setup flutter
# uses: subosito/flutter-action@v2
# with:
# cache: true
# - name: authenticate cloudsmith
# run: echo ${{ secrets.CLOUDSMITH_API_KEY }} | dart pub token add $CLOUDSMITH_REPOSITORY
# - name: adjust pubspec
# uses: Agriaku/agriaku_app_actions/[email protected]
# with:
# hosted_link: ${{ env.CLOUDSMITH_REPOSITORY }}
# - name: publish
# run: dart pub publish --force
- name: simulate publish
run: |
git status
echo "publish"