update workflows
This commit is contained in:
parent
2417008f13
commit
38d0ed0e03
2 changed files with 16 additions and 9 deletions
|
|
@ -1,26 +0,0 @@
|
|||
name: Build
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: 🔧 Setup node
|
||||
uses: https://github.com/actions/setup-node@v3
|
||||
- name: 🧱 Install node packages
|
||||
run: npm ci
|
||||
- name: ✅ svelte-check
|
||||
run: npm run check
|
||||
- name: 🔨 Build project
|
||||
run: npm run build
|
||||
- name: 📦 Zip project
|
||||
run: tar -czf build.zip build
|
||||
- name: ☁️ Upload artifact
|
||||
run: |
|
||||
curl -T build.zip -H 'Authorization: token ${{ secrets.PACKAGE_TOKEN }}' 'https://minijack@git.quartznet.info/api/packages/quartznet/generic/quartznet/${{ gitea.ref }}/quartznet-${{ gitea.ref }}.zip'
|
||||
Loading…
Reference in a new issue