mirror of
https://github.com/crazy-max/diun.git
synced 2026-01-04 12:05:11 +01:00
Use named context to wrap artifacts and create checksums
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -113,15 +113,16 @@ jobs:
|
||||
targets: artifact-all
|
||||
pull: true
|
||||
-
|
||||
name: Move artifacts
|
||||
run: |
|
||||
mv ./dist/**/* ./dist/
|
||||
name: Release
|
||||
uses: docker/bake-action@v2
|
||||
with:
|
||||
targets: release
|
||||
-
|
||||
name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: diun
|
||||
path: ./dist/*
|
||||
path: ./release/*
|
||||
if-no-files-found: error
|
||||
-
|
||||
name: Build image
|
||||
@@ -140,8 +141,7 @@ jobs:
|
||||
with:
|
||||
draft: true
|
||||
files: |
|
||||
dist/*.tar.gz
|
||||
dist/*.zip
|
||||
release/*
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
-
|
||||
|
||||
Reference in New Issue
Block a user