mirror of
https://github.com/JonasunderscoreJones/simp-resourcepack.git
synced 2025-10-25 15:19:19 +02:00
automatically remake the zip at every push
This commit is contained in:
parent
5ee1c92d70
commit
c0490f6463
1 changed files with 28 additions and 0 deletions
28
.github/workflows/zip_resourcepack.yml
vendored
Normal file
28
.github/workflows/zip_resourcepack.yml
vendored
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue