Skip to content

Commit

Permalink
build: add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
johnstonskj committed Oct 12, 2023
1 parent bc257aa commit 2b1011f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Create TextMate Bundle

on:
release:
types:
- created

jobs:
package:
permissions: write-all
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Zip Folder
run: zip -r "SDML-tmbundle.zip" . -x ".git/*" -x ".github/*" -x ".gitignore" -x "images/" -x "install.sh"

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: "SDML-tmbundle.zip"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2b1011f

Please sign in to comment.