Files
Archive/juicity/.github/workflows/seed-upload-release.yml
T
2025-06-30 20:37:48 +02:00

46 lines
1.1 KiB
YAML

# _ _ _ _
# (_)_ _(_) ___(_) |_ _ _
# | | | | | |/ __| | __| | | |
# | | |_| | | (__| | |_| |_| |
# _/ |\__,_|_|\___|_|\__|\__, |
# |__/ |___/
#
# Copyright (C) 2023 @juicity <https://github.com/juicity>
#
# This is a open-source software, liscensed under the AGPL-3.0 License.
# See /License for more information.
name: Upload (Pre)Release
on:
workflow_call:
inputs:
prerelease:
required: true
type: boolean
jobs:
upload-release:
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: release/
- name: Prepare files for upload
run: |
cp release/*/*.zip ./
cp release/*/*.zip.dgst ./
echo "Show files are going to upload..."
ls -lh | grep ".zip"
- name: Upload full source and artifacts to GitHub release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ inputs.tag }}
files: |
*zip
*dgst
prerelease: ${{ inputs.prerelease }}