From 94eaece118906434c3a657852da07992e264cfc8 Mon Sep 17 00:00:00 2001 From: Moritz Baron Date: Tue, 8 Nov 2022 12:03:05 +0100 Subject: [PATCH] Create ci.yml --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..08af381 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "main" branch + push: + tags: + - '*' + +jobs: + build: + runs-on: windows-2022 + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + - name: Checkout + uses: actions/checkout@v3 + + # zip + - run: Compress-Archive -Path ./red.kark -DestinationPath ./resources-${{github.ref_name}}.zip + + # RELEASE + - name: Release tag + uses: softprops/action-gh-release@v1 + with: + draft: true + files: "./resources-${{github.ref_name}}.zip" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}