diff --git a/.forgejo/workflows/package.yaml b/.forgejo/workflows/package.yaml new file mode 100644 index 0000000..5406926 --- /dev/null +++ b/.forgejo/workflows/package.yaml @@ -0,0 +1,18 @@ +on: + push: + pull_request: + types: [opened, synchronize, reopened] +jobs: + publish_package: + runs-on: docker + steps: + - uses: https://code.forgejo.org/forgejo/forgejo-build-publish/build@v1 + with: + forgejo: "${{ env.GITHUB_SERVER_URL }}" + owner: "${{ env.GITHUB_REPOSITORY_OWNER }}" + repository: "${{ env.GITHUB_REPOSITORY/`${{ env.GITHUB_REPOSITORY_OWNER }}/'' }}" + doer: "seang96" + release-version: "${{ env.GITHUB_REF }}" + token: "${{ secrets.token }}" + platforms: linux/amd64 + override: 'true' diff --git a/.gitignore b/.gitignore index ce10c53..fcc6cb4 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ *.yaml !.pre-commit-config.yaml !example-config.yaml +!.forgejo/workflows/* *.session *.json