Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
+ Added CI
+ Updated README
  • Loading branch information
imevul committed Aug 16, 2023
1 parent adc87c4 commit 3f6d58b
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 2 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
tags:
- '*'

# 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:
# The type of runner that the job will run on
runs-on: ubuntu-latest

permissions:
contents: write

# 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@master
- name: Archive Release
uses: thedoctor0/[email protected]
with:
type: 'zip'
directory: 'src'
filename: '${{ github.event.repository.name }}-${{ github.ref_name }}.zip'
exclusions: '*.git* /*node_modules/* .editorconfig .vscode .vscode/* README.md LICENSE'
- name: Upload Release
uses: ncipollo/release-action@v1
with:
name: 'v${{ github.ref_name }}'
artifacts: "src/${{ github.event.repository.name }}-${{ github.ref_name }}.zip"
token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ A collection of functions needed by other addons

## Installation

1. Extract zip-file
2. Copy to Interface/AddOns/SynastriaCoreLib
Extract to Interface/AddOns
File renamed without changes.
File renamed without changes.

0 comments on commit 3f6d58b

Please sign in to comment.