From e18108ba33e09561027723a1c00ff896a82c82f3 Mon Sep 17 00:00:00 2001 From: Mark Rapson Date: Sat, 16 Dec 2023 22:39:07 +0000 Subject: [PATCH] Create Release --- .github/workflows/main.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..f0f98e4 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,22 @@ +name: Create release + +on: + release: + types: + - created + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Zip Folder + run: zip -r ${{ github.event.repository.name }}.zip ./Wrench/ + + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: ${{ github.event.repository.name }}.zip + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}