mirror of
https://github.com/JonasunderscoreJones/simp-resourcepack.git
synced 2025-10-25 15:19:19 +02:00
remove double zipping
This commit is contained in:
parent
e07830df2b
commit
724626578d
1 changed files with 4 additions and 16 deletions
20
.github/workflows/zip_resourcepack.yml
vendored
20
.github/workflows/zip_resourcepack.yml
vendored
|
|
@ -1,32 +1,20 @@
|
||||||
# This is a basic workflow to help you get started with Actions
|
name: zip
|
||||||
|
|
||||||
name: CI
|
|
||||||
|
|
||||||
# Controls when the workflow will run
|
|
||||||
on:
|
on:
|
||||||
# Triggers the workflow on push but only for the main branch
|
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
||||||
jobs:
|
jobs:
|
||||||
# Zip job
|
# Zip job (the zipping is done on upload automatically)
|
||||||
zip:
|
zip:
|
||||||
# The type of runner that the job will run on
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# zip the file
|
|
||||||
- uses: vimtor/action-zip@v1
|
|
||||||
with:
|
|
||||||
files: SiMP-resources/
|
|
||||||
dest: SiMP-resources.zip
|
|
||||||
# upload the artifacts
|
# upload the artifacts
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: SiMP-resources
|
name: SiMP-resources
|
||||||
path: SiMP-resources.zip
|
path: SiMP-resources/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue