-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #513 from builttoroam/workflow-update
- Loading branch information
Showing
3 changed files
with
8 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,8 @@ jobs: | |
release: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write # Required for authentication using OIDC | ||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
|
@@ -25,18 +27,13 @@ jobs: | |
channel: "stable" | ||
- run: dart --version | ||
- run: flutter --version | ||
- name: Setup credentials | ||
run: | | ||
cat <<EOF > $PUB_CACHE/credentials.json | ||
${{ secrets.CREDENTIALS }} | ||
EOF | ||
- name: Publish package | ||
run: flutter pub publish --force | ||
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 | ||
- name: Get Changelog Entry | ||
id: changelog_reader | ||
uses: mindsers/[email protected] | ||
- name: Add entry to Github release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
tag_name: ${{ steps.changelog_reader.outputs.version }} | ||
body: ${{ steps.changelog_reader.outputs.changes }} | ||
body: ${{ steps.changelog_reader.outputs.changes }} |