-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'music-assistant:main' into deezer/new-logo
- Loading branch information
Showing
47 changed files
with
397 additions
and
177 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,9 @@ jobs: | |
auto-update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: '3.10' | ||
- name: Install pre-commit | ||
|
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 |
---|---|---|
|
@@ -11,12 +11,12 @@ jobs: | |
outputs: | ||
version: ${{ steps.vars.outputs.tag }} | ||
steps: | ||
- uses: actions/checkout@v3.5.3 | ||
- uses: actions/checkout@v4 | ||
- name: Get tag | ||
id: vars | ||
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT | ||
- name: Set up Python 3.10 | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: "3.10" | ||
- name: Install build | ||
|
@@ -54,15 +54,15 @@ jobs: | |
- name: Sleep for 60 seconds (to prevent race condition with the pypi upload) | ||
run: sleep 60s | ||
shell: bash | ||
- uses: actions/checkout@v3.5.3 | ||
- uses: actions/checkout@v4 | ||
- name: Log in to the GitHub container registry | ||
uses: docker/login-action@v2.2.0 | ||
uses: docker/login-action@v3.0.0 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2.9.1 | ||
uses: docker/setup-buildx-action@v3.0.0 | ||
- name: Version number for tags | ||
id: tags | ||
shell: bash | ||
|
@@ -79,13 +79,13 @@ jobs: | |
- name: Docker meta | ||
id: meta | ||
uses: docker/metadata-action@v4 | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: | | ||
ghcr.io/${{ github.repository_owner }}/server | ||
- name: Build and Push images | ||
uses: docker/build-push-action@v4.1.1 | ||
uses: docker/build-push-action@v5.0.0 | ||
with: | ||
context: . | ||
platforms: linux/amd64,linux/arm64 | ||
|
@@ -101,12 +101,24 @@ jobs: | |
build-args: | | ||
"MASS_VERSION=${{ needs.build-and-publish-pypi.outputs.version }}" | ||
addon-version-update: | ||
name: Server repo PR | ||
release-notes-update: | ||
name: Updates the release notes and changelog | ||
needs: [ build-and-publish-pypi, build-and-push-container-image ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: music-assistant/addon-update-action@main | ||
- name: Update changelog and release notes including frontend notes | ||
uses: music-assistant/release-notes-merge-action@main | ||
with: | ||
github_token: ${{ secrets.PRIVILEGED_GITHUB_TOKEN }} | ||
release_tag: ${{ needs.build-and-publish-pypi.outputs.version }} | ||
|
||
addon-version-update: | ||
name: Updates the Addon repository with the new version | ||
needs: [ build-and-publish-pypi, build-and-push-container-image, release-notes-update ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Push new version number to addon config | ||
uses: music-assistant/addon-update-action@main | ||
with: | ||
github_token: ${{ secrets.PRIVILEGED_GITHUB_TOKEN }} | ||
new_release_version: ${{ needs.build-and-publish-pypi.outputs.version }} | ||
new_server_version: ${{ needs.build-and-publish-pypi.outputs.version }} |
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,9 +16,9 @@ jobs: | |
|
||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/checkout@v3.5.3 | ||
uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: "3.11" | ||
- name: Install dependencies | ||
|
@@ -41,9 +41,9 @@ jobs: | |
|
||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/checkout@v3.5.3 | ||
uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
|
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
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
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
Oops, something went wrong.