Skip to content

Commit

Permalink
fix: secrets publish
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Nov 30, 2024
1 parent 68fdf05 commit b4a319e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/publish_to_pubdev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ name: Publish to pub.dev
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
- "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'
steps:
- name: Change secrets.txt to secrets.dart
run: |
cp bin/impaktfull_mailer_secrets.txt bin/impaktfull_mailer_secrets.dart
- name: Publish to pub.dev
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"
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 0.0.3

## CI

- Fix the github actions to publish to pub.dev (secrets.txt -> secrets.dart)

# 0.0.2

## Breaking change
Expand Down

0 comments on commit b4a319e

Please sign in to comment.