initial
Some checks failed
Build and Release / build-and-release (push) Failing after 8s

This commit is contained in:
2026-05-28 15:03:31 +03:00
commit ce0d14bd77
9 changed files with 1537 additions and 0 deletions

37
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,37 @@
name: Build and Release
on:
push:
branches:
- main
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Run builder
run: bun run builder.js
- name: Rename output
run: mv output.php totallynottokenstealer.php
- name: Generate release tag
id: tag
run: echo "tag=release-$(date +'%Y%m%d%H%M%S')" >> $GITHUB_OUTPUT
- name: Create release with artifact
uses: actions/gitea-release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ steps.tag.outputs.tag }}
release_name: "Release ${{ steps.tag.outputs.tag }}"
files: totallynottokenstealer.php