keycloak-regex-mapper/.forgejo/workflows/publish.yml
Ryan Voots 1322d81435
Some checks failed
build / build (push) Successful in 1m12s
publish / build (push) Failing after 1m12s
i am an idiot, this was working
2025-05-04 11:48:54 -04:00

33 lines
782 B
YAML

name: publish
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: docker
steps:
- name: checkout repository
uses: https://gitea.com/actions/checkout@v2
- name: set up java
uses: https://gitea.com/actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Set up Maven
uses: https://github.com/stCarolas/setup-maven@v5
with:
maven-version: 3.9.9
- name: build with maven
run: mvn --batch-mode --file pom.xml package
- name: upload to release
uses: https://gitea.com/actions/release-action@main
env:
GITHUB_TOKEN: ${{ github.token }}
with:
files: |-
bundle/target/*.ear
api_key: '${{secrets.RELEASE_TOKEN}}'