From a0acceabc83db26477675528844d0b69d5708695 Mon Sep 17 00:00:00 2001 From: starry <115192496+sky22333@users.noreply.github.com> Date: Sun, 12 Jul 2026 22:35:34 +0800 Subject: [PATCH] update ci --- .github/workflows/docker-ghcr.yml | 8 ++++---- .github/workflows/release.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker-ghcr.yml b/.github/workflows/docker-ghcr.yml index 706f423..e3e1816 100644 --- a/.github/workflows/docker-ghcr.yml +++ b/.github/workflows/docker-ghcr.yml @@ -15,13 +15,13 @@ jobs: packages: write steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Cache Docker layers - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-${{ github.sha }} @@ -29,7 +29,7 @@ jobs: ${{ runner.os }}-buildx- - name: Log in to GitHub Docker Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 399b5ea..0146acd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,14 +15,14 @@ jobs: contents: write steps: - name: 检出代码 - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: 设置 Go 环境 - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: - go-version-file: go.mod + go-version-file: 'go.mod' - name: 计算版本号 id: meta @@ -62,7 +62,7 @@ jobs: } >> "$GITHUB_OUTPUT" - name: 发布 Release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: tag_name: ${{ steps.meta.outputs.version }} name: qqbot ${{ steps.meta.outputs.version }}