Skip to content

Commit

Permalink
Create create_release_package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kaaac authored Apr 18, 2024
1 parent 0a6a6ff commit d570cb7
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/create_release_package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This is a basic workflow to help you get started with Actions

name: Create Release 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: RLT-Theme-Helper

# Runs a single command using the runners shell
- name: Create ZIP Package
run: |
shopt -s dotglob
zip -r RLT-Theme-Helper.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: RLT-Theme-Helper.zip
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}

0 comments on commit d570cb7

Please sign in to comment.