Copy release artifacts differently due to deadlock when using outputs #7
Workflow file for this run
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
name: Create Release | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
build-and-release: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Build release packages | |
uses: docker/build-push-action@v6 | |
with: | |
tags: | | |
util_caching_release | |
push: false | |
target: release | |
- name: Copy release packages | |
run: | | |
mkdir -p /tmp/artifacts/ | |
docker run --rm -v /tmp/artifacts:/tmp/artifacts util_caching_release cp -r /release /tmp/artifacts/ | |
- name: Create Release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "/tmp/artifacts/release/*" | |