diff --git a/.gitea/workflows/release_amd.yml b/.gitea/workflows/release_amd.yml new file mode 100644 index 0000000..d2fa029 --- /dev/null +++ b/.gitea/workflows/release_amd.yml @@ -0,0 +1,37 @@ +name: Outbag + +on: + push: + tags: + - v* + + +jobs: + build: + 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 + id: gitea-release + uses: akkuman/gitea-release-action@v1 + with: + files: | + upload/** + api_key: '${{ secrets.RELEASE_TOKEN }}'