Skip to content

Commit

Permalink
ci: test pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
ga2mer committed Jun 4, 2023
1 parent 38c6d82 commit e3ad5a5
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
name: CI
on: push
on:
push:
branches:
- "main"

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: '16.x'
- run: npm i @zeppos/zeus-cli -g
- run: zeus build
- uses: actions/upload-artifact@v3
with:
name: ha-zepp.zab
path: dist/*.zab
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: '16.x'
- run: npm i @zeppos/zeus-cli -g
- run: zeus build
- run: mv dist/*.zab dist/ha-zepp.zab
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
dist/ha-zepp.zab

0 comments on commit e3ad5a5

Please sign in to comment.