mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-13 06:02:39 +01:00
🐛 fix publish release action
This commit is contained in:
parent
2669b61a27
commit
6487aebc14
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@ -1,9 +1,17 @@
|
|||||||
on: push
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
# Sequence of patterns matched against refs/tags
|
||||||
|
tags:
|
||||||
|
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||||
|
|
||||||
|
name: Publish Release
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
insiders-build:
|
insiders-build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [windows-latest, macos-latest, ubuntu-latest]
|
os: [windows, macos, ubuntu]
|
||||||
include:
|
include:
|
||||||
- os: windows
|
- os: windows
|
||||||
build: npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/lib/index.js" --output "Fosscord-server-windows-${{ github.sha }}.exe"
|
build: npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/lib/index.js" --output "Fosscord-server-windows-${{ github.sha }}.exe"
|
||||||
@ -18,7 +26,7 @@ jobs:
|
|||||||
npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/lib/index.js" --output "fosscord"
|
npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/lib/index.js" --output "fosscord"
|
||||||
tar -czf "fosscord-server-linux-${{ github.sha }}.tgz" "fosscord"
|
tar -czf "fosscord-server-linux-${{ github.sha }}.tgz" "fosscord"
|
||||||
artifact: fosscord-server-linux-${{ github.sha }}.tgz
|
artifact: fosscord-server-linux-${{ github.sha }}.tgz
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
|
Loading…
Reference in New Issue
Block a user