36 lines
690 B
YAML
36 lines
690 B
YAML
|
name: Outbag AMD Release
|
||
|
|
||
|
on:
|
||
|
workflow_call:
|
||
|
inputs:
|
||
|
secrets:
|
||
|
|
||
|
|
||
|
jobs:
|
||
|
release-amd:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout Repository
|
||
|
uses: actions/checkout@v3
|
||
|
|
||
|
- name: Install Dependencies
|
||
|
run: npm ci
|
||
|
|
||
|
- name: Build
|
||
|
run: |
|
||
|
mkdir build
|
||
|
npm run bundleRelease
|
||
|
|
||
|
- name: Build AMD
|
||
|
run: |
|
||
|
npm run build-amd
|
||
|
mkdir upload
|
||
|
cp build/bin/* upload
|
||
|
- name: Create Release AMD
|
||
|
id: gitea-release-amd
|
||
|
uses: akkuman/gitea-release-action@v1
|
||
|
with:
|
||
|
files: |
|
||
|
upload/**
|
||
|
api_key: '${{ secrets.RELEASE_TOKEN }}'
|