Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 6.0.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.2.0...v6.0.2) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
22 lines
693 B
YAML
22 lines
693 B
YAML
name: "Upload zip-archive"
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
zip-archive:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6.0.2
|
|
with:
|
|
submodules: true
|
|
- name: Create zip including submodules
|
|
run: |
|
|
cd ..
|
|
zip ${{ github.event.repository.name }}/${{ github.event.repository.name }}-${{ github.ref_name }}.zip ${{ github.event.repository.name }} -r
|
|
- name: Upload zip to release
|
|
uses: softprops/action-gh-release@6cbd405e2c4e67a21c47fa9e383d020e4e28b836
|
|
with:
|
|
files: |
|
|
${{ github.event.repository.name }}-${{ github.ref_name }}.zip |