Unpack artifacts
This commit is contained in:
@@ -37,10 +37,13 @@ jobs:
|
||||
run: |-
|
||||
nix build "nixpkgs#coreutils"
|
||||
echo "DATE=$(./result/bin/date +'%Y-%m-%d-%H')" >> "$GITHUB_OUTPUT"
|
||||
for d in $(nix run "nixpkgs#findutils" -- -maxdepth 1 -type d); do
|
||||
nix run "nixpkgs#unzip" -- -d . "${d}/*.zip"
|
||||
done
|
||||
ls -lR
|
||||
- name: Create release
|
||||
uses: https://gitea.com/actions/gitea-release-action@v1
|
||||
with:
|
||||
tag_name: ${{ steps.date.outputs.DATE }}
|
||||
files: |-
|
||||
**/*.tar.xz
|
||||
*.tar.xz
|
||||
|
||||
Reference in New Issue
Block a user