actions-test/.gitea/workflows/release_amd.yml

40 lines
827 B
YAML
Raw Normal View History

2024-02-25 20:15:28 +01:00
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: setup go
uses: https://github.com/actions/setup-go@v4
with:
go-version: '>=1.20.1'
- name: Create Release AMD
id: gitea-release-amd
uses: https://gitea.com/actions/release-action@main
with:
files: |
upload/**
api_key: '${{ secrets.RELEASE_TOKEN }}'