Skip to content

Commit

Permalink
feat: added ci implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Dec 12, 2024
1 parent 9ac4fd9 commit 9677613
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/create_tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Automated version bump

on:
push:
branches:
- main

jobs:
bump_version:
name: Version bump on main
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2
with:
token: ${{ secrets.IMPAKTFULL_GITHUB_PAT }}
ref: ${{ github.ref }}
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Automated version bump
uses: impaktfull/gh_action_dart_conventional_release@main
with:
tag-prefix: 'v'
14 changes: 14 additions & 0 deletions .github/workflows/publish_to_pubdev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Publish to pub.dev

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'

jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
uses: Impaktfull/gh_action_dart_conventional_release/.github/workflows/flutter_release.yml@main
with:
environment: 'pub.dev'

0 comments on commit 9677613

Please sign in to comment.