From c0490f64631053a35e56eac39845d8c03c30a86c Mon Sep 17 00:00:00 2001 From: ZtereoHYPE <57519662+ZtereoHYPE@users.noreply.github.com> Date: Fri, 28 Jan 2022 20:33:59 +0100 Subject: [PATCH] automatically remake the zip at every push --- .github/workflows/zip_resourcepack.yml | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/zip_resourcepack.yml diff --git a/.github/workflows/zip_resourcepack.yml b/.github/workflows/zip_resourcepack.yml new file mode 100644 index 0000000..8ffd47f --- /dev/null +++ b/.github/workflows/zip_resourcepack.yml @@ -0,0 +1,28 @@ +# 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 but only for the main branch + push: + branches: [ main ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # Zip job + zip: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + - uses: actions/checkout@v2 + # zip the file + - uses: papeloto/action-zip@v1 + with: + files: SiMP-resources/ + dest: SiMP-resources.zip