Skip to content

Commit

Permalink
feat: enable CI in PRs
Browse files Browse the repository at this point in the history
Signed-off-by: Sefa Eyeoglu <[email protected]>
  • Loading branch information
Scrumplex committed Mar 22, 2024
1 parent d605e84 commit 439a511
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
paths:
- "themes/**"
- "icons/**"
pull_request:
branches:
- main

jobs:
package:
Expand All @@ -31,11 +34,18 @@ jobs:
echo "DISPLAY_NAME=$(date "+%Y-%m-%d %H:%M:%S")" >> "$GITHUB_ENV"
echo "TAG_NAME=$(date "+%Y-%m-%d_%s")" >> "$GITHUB_ENV"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: themes
path: out/*.zip

- name: Create release
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.event_name == 'push' }}
with:
name: ${{ env.DISPLAY_NAME }}
tag_name: ${{ env.TAG_NAME }}
Expand Down

0 comments on commit 439a511

Please sign in to comment.