workflows changes 7

This commit is contained in:
t1amak
2025-12-09 23:32:11 +01:00
parent b09da88b2c
commit ef9ca7641a
8 changed files with 76 additions and 16 deletions

View File

@@ -23,6 +23,8 @@ jobs:
env:
# This logic correctly gets the version from either the dispatch input or the tag name
P2POOL_VERSION: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version || github.ref_name }}
P2POOL_BUILD_CACHE: /tmp/p2pool-buildx-cache
DOCKER_BUILDKIT: 1
steps:
- name: Checkout repository
@@ -40,6 +42,14 @@ jobs:
fi
echo "Building release for ${P2POOL_VERSION}"
- name: Restore Docker build cache
uses: actions/cache@v3
with:
path: /tmp/p2pool-buildx-cache
key: p2pool-buildx-${{ runner.os }}-${{ env.P2POOL_VERSION }}
restore-keys: |
p2pool-buildx-${{ runner.os }}-
# This new step sets the title and body for the release
- name: Set Release Title and Body
id: set_release_vars