Skip to content

v4.0.7

v4.0.7 #244

Workflow file for this run

---
name: Release
on:
release:
types: [published]
workflow_dispatch:
pull_request:
branches:
- main
permissions:
contents: write
jobs:
release:
name: Generate Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Zip and Tar
run: |
mkdir bootstrap
cp -r .config bootstrap
cp -r alz bootstrap
cp -r modules bootstrap
cd bootstrap
tar -cvzf ../bootstrap_modules.tar.gz .
zip -r ../bootstrap_modules.zip .
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: bootstrap_modules
path: |
bootstrap_modules.tar.gz
bootstrap_modules.zip
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
./bootstrap_modules.tar.gz
./bootstrap_modules.zip