Skip to content

Add automatic packaging #1

Add automatic packaging

Add automatic packaging #1

Workflow file for this run

name: Module packaging
on:
push:
tags:
- '*'
jobs:
release:
name: Prepare release
runs-on: ubuntu-latest
steps:
- name: Checkout module
uses: actions/checkout@v4
- name: Create package
uses: thedoctor0/[email protected]
with:
filename: ${{ github.workspace }}-${{ github.ref_name }}.zip
path: '*'
directory: '..'
exclusions: '*.git*'
- name: Create draft release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: ${{ github.workspace }}-${{ github.ref_name }}.zip
artifactErrorsFailBuild: true
draft: true
generateReleaseNotes: true
omitNameDuringUpdate: true
omitBodyDuringUpdate: true
omitPrereleaseDuringUpdate: true
updateOnlyUnreleased: true
token: ${{ secrets.ACCESS_TOKEN }}