Skip to content

fix(action) : putting the zip in a folder manually for now #13

fix(action) : putting the zip in a folder manually for now

fix(action) : putting the zip in a folder manually for now #13

Workflow file for this run

# 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 "master" branch
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
# 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:
# This workflow contains a single job called "build"
build:
permissions: write-all
# 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:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# - name: Download custom vanilla-tweaks.zip
# uses: wei/wget@v1
# with:
# args: -O vanilla-tweaks.zip https://vanillatweaks.net/download/VanillaTweaks_r815931.zip
- name: Extract vanilla-tweaks.zip
uses: montudor/action-zip@v1
with:
args: unzip -n 'merge/*.zip' -d $GITHUB_WORKSPACE
# Runs a set of commands using the runners shell
- name: Making release zip file
uses: TheDoctor0/[email protected]
with:
type: 'zip'
filename: 'crater-ressourcepack.zip'
exclusions: '*.git* *.zip *.xcf merge'
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
previous_version: "v1.6.0"
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Release
uses: ncipollo/[email protected]
with:
artifacts: "crater-ressourcepack.zip"