workflows changes 7
This commit is contained in:
10
.github/workflows/build-releases.yml
vendored
10
.github/workflows/build-releases.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user