Skip to content

Commit

Permalink
Merge pull request #30 from syaiful-aa/dev/tag-test
Browse files Browse the repository at this point in the history
up
  • Loading branch information
syaiful-aa authored Jun 28, 2024
2 parents 5b2e754 + e77bda7 commit b4ff3ab
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/tag-triggered.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Triggered by tag creation

on:
push:
tags:
- '*'

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
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: echo "$GITHUB_CONTEXT"

0 comments on commit b4ff3ab

Please sign in to comment.