Merging auto updater to main branch #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
permissions: | |
contents: write | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Move contents to XXMITools folder | |
run: | | |
mkdir XXMITools | |
shopt -s extglob | |
mv !(XXMITools) XXMITools | |
- name: Create zip of repository | |
run: zip -r XXMITools_${{ github.ref_name }}.zip XXMITools | |
- name: Create Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: XXMITools_${{ github.ref_name }}.zip | |
name: Release ${{ github.ref_name }} | |
body: | | |
See the [changelog](https://github.com/${{ github.repository }}/commits/${{ github.ref_name }}) for details. | |
draft: false | |
prerelease: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |