aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-09-15 15:36:43 -0500
committerJP Dillingham <jp@dillingham.me>2024-09-15 15:36:43 -0500
commit340270c657a9eeca0bd18e8e665d25adab63bb32 (patch)
tree7c9cfbe5ca0c19e4014d68cfc39ce3ad0585c142 /.github
parent378010887b29d549acf639ddc69af9c132c68529 (diff)
parente71870c765c5b8be077c7fc12891322f8f679cb8 (diff)
downloadslskd-340270c657a9eeca0bd18e8e665d25adab63bb32.tar.gz
Merge remote-tracking branch 'origin/master' into tasks
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml34
1 files changed, 17 insertions, 17 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0adfb1d2..5a6072c0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,12 +16,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up .NET
- uses: actions/setup-dotnet@v3
+ uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
@@ -37,7 +37,7 @@ jobs:
- name: Upload Static Web Content
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: web-${{ env.VERSION }}
path: src/web/build
@@ -62,12 +62,12 @@ jobs:
- "osx-arm64"
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up .NET
- uses: actions/setup-dotnet@v3
+ uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
@@ -76,7 +76,7 @@ jobs:
echo "VERSION=$(git describe --tags --abbrev=0).$([[ $GITHUB_REF = refs/tags/* ]] && echo 0 || echo 65534)+$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Download Static Web Content
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: web-${{ env.VERSION }}
path: src/slskd/wwwroot
@@ -85,7 +85,7 @@ jobs:
run: bin/publish --no-prebuild --runtime ${{ matrix.runtime }} --version ${{ env.VERSION }}
- name: Upload Binaries
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: slskd-${{ env.VERSION }}-${{ matrix.runtime }}
path: dist/${{ matrix.runtime }}
@@ -97,7 +97,7 @@ jobs:
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
fetch-depth: 0
@@ -114,19 +114,19 @@ jobs:
echo "BUILD_DATE=$(date --iso-8601=s)" >> $GITHUB_ENV
- name: Set up QEMU
- uses: docker/setup-qemu-action@v2
+ uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v2
+ uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
- uses: docker/login-action@v2
+ uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Login to GitHub Container Registry
- uses: docker/login-action@v2
+ uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
@@ -134,7 +134,7 @@ jobs:
- name: Build and push Canary
if: "!startsWith(github.ref, 'refs/tags/')"
- uses: docker/build-push-action@v3
+ uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
@@ -153,7 +153,7 @@ jobs:
- name: Build and push Release
if: startsWith(github.ref, 'refs/tags/')
- uses: docker/build-push-action@v3
+ uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
@@ -191,7 +191,7 @@ jobs:
- "osx-arm64"
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set Environment Variables
@@ -199,7 +199,7 @@ jobs:
echo "TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
echo "VERSION=$(git describe --tags --abbrev=0).$([[ $GITHUB_REF = refs/tags/* ]] && echo 0 || echo 65534)+$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Download ${{ matrix.runtime }} Binaries
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: slskd-${{ env.VERSION }}-${{ matrix.runtime }}
path: dist/${{ matrix.runtime }}
@@ -211,7 +211,7 @@ jobs:
fi
zip -r ../../slskd-${{ env.TAG }}-${{ matrix.runtime }}.zip .
- name: Create Release
- uses: softprops/action-gh-release@v1
+ uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |