Skip to content

Commit a4ad5c7

Browse files
authored
Merge pull request #130 from TerminalStudio/feature/CI-CD-improvements
feat: Implement Automated Publishing via Tag & Disable Dependabot
2 parents df127d7 + 1312766 commit a4ad5c7

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "pub"
9-
directory: "/"
10-
schedule:
11-
interval: "weekly"
12-
time: "09:00"
13-
timezone: Europe/Madrid
148
- package-ecosystem: "pub"
159
directory: "/example/"
1610
schedule:

.github/workflows/publish.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Publish to pub.dev
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v[0-9]+.[0-9]+.[0-9]+*'
7+
8+
jobs:
9+
publish:
10+
permissions:
11+
id-token: write # Required for authentication using OIDC
12+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
13+
# with:
14+
# working-directory: path/to/package/within/repository

0 commit comments

Comments
 (0)