Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kaaac committed Sep 13, 2023
2 parents b36bc7d + 33af46d commit ceb9b65
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/create_theme_package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This is a basic workflow to help you get started with Actions

name: Create Theme package

# Controls when the workflow will run
on:
release:
types:
- created
# 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:
# 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
with:
path: Titanium-Plates-Theme

# Runs a single command using the runners shell
- name: Create ZIP Package
run: |
shopt -s dotglob
zip -r Titanium-Plates-Theme.zip * -x "**/.*" "**/.*/**"
# Runs a set of commands using the runners shell
- name: Upload ZIP as release asset
uses: softprops/action-gh-release@v1
with:
files: Titanium-Plates-Theme.zip
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}

0 comments on commit ceb9b65

Please sign in to comment.