-
Notifications
You must be signed in to change notification settings - Fork 853
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Description This allows publishing audioplayers from the GitHub CI. The PR creation is available as a workflow dispatch (with option for prerelease) to not overwhelm the PR pipeline. See: dart-lang/pub-dev#7177
- Loading branch information
Showing
15 changed files
with
93 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Prepare release | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
prerelease: | ||
description: 'Version as prerelease' | ||
required: false | ||
default: false | ||
type: boolean | ||
|
||
jobs: | ||
call-min-flutter-test: | ||
uses: ./.github/workflows/test.yml | ||
with: | ||
flutter_version: '3.22.0' | ||
fatal_warnings: false | ||
prepare-release: | ||
name: Prepare release | ||
needs: call-min-flutter-test | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: subosito/flutter-action@v2 | ||
- uses: bluefireteam/melos-action@v3 | ||
with: | ||
run-versioning: ${{ inputs.prerelease == false }} | ||
run-versioning-prerelease: ${{ inputs.prerelease == true }} | ||
publish-dry-run: true | ||
create-pr: true | ||
git-email: contact@blue-fire.xyz | ||
git-name: Bluefireteam |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Publish packages | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
publish-packages: | ||
name: Publish packages | ||
permissions: | ||
contents: write | ||
id-token: write # Required for authentication using OIDC | ||
runs-on: [ ubuntu-latest ] | ||
if: contains(github.event.head_commit.message, 'chore(release)') | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: subosito/flutter-action@v2 | ||
- uses: bluefireteam/melos-action@v3 | ||
with: | ||
publish: true | ||
git-email: contact@blue-fire.xyz | ||
git-name: Bluefireteam |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Tag release | ||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
publish-packages: | ||
name: Create tag for a release | ||
permissions: | ||
contents: write | ||
runs-on: [ ubuntu-latest ] | ||
if: contains(github.event.head_commit.message, 'chore(release)') | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: subosito/flutter-action@v2 | ||
- uses: bluefireteam/melos-action@v3 | ||
with: | ||
tag: true |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
packages/audioplayers/example/server/public/files/audio/ambient_c_motion.mp3
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../assets/ambient_c_motion.mp3 |
1 change: 1 addition & 0 deletions
1
packages/audioplayers/example/server/public/files/audio/coins whitespace.wav
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../assets/coins whitespace.wav |
1 change: 1 addition & 0 deletions
1
packages/audioplayers/example/server/public/files/audio/coins.wav
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../assets/coins.wav |
1 change: 1 addition & 0 deletions
1
packages/audioplayers/example/server/public/files/audio/coins_no_extension
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../assets/coins_no_extension |
1 change: 1 addition & 0 deletions
1
packages/audioplayers/example/server/public/files/audio/coins_non_ascii_и.wav
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../assets/coins_non_ascii_и.wav |
1 change: 1 addition & 0 deletions
1
packages/audioplayers/example/server/public/files/audio/invalid.txt
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../assets/invalid.txt |
1 change: 1 addition & 0 deletions
1
packages/audioplayers/example/server/public/files/audio/laser.wav
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../assets/laser.wav |
1 change: 1 addition & 0 deletions
1
packages/audioplayers/example/server/public/files/audio/nasa_on_a_mission.mp3
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../assets/nasa_on_a_mission.mp3 |