Skip to content

Commit

Permalink
add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gmella committed Jan 5, 2023
1 parent 714484a commit 70cc3a4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

# Controls when the workflow will run
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "13 01 * * *"

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm update
- run: ant

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: build
path: build/*.xar
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/*.xar

0 comments on commit 70cc3a4

Please sign in to comment.