mirror of https://github.com/jacekkow/keycloak-protocol-cas

github-actions
2024-11-02 e629ea858ba400232afea9b916b0408e99d74d4d
commit | author | age
fd0b0f 1 on:
JK 2   push:
3     tags:
4       - '[0-9]+.*'
5
6 name: Release
7
b1c0c9 8 permissions: {}
JK 9
fd0b0f 10 jobs:
JK 11   build:
305397 12     uses: ./.github/workflows/test.yml
fd0b0f 13
JK 14   release:
15     name: Release
16     runs-on: ubuntu-latest
305397 17     needs: [build]
fe16b8 18     permissions:
JK 19       contents: write
fd0b0f 20     steps:
JK 21       - id: download_artifact
22         name: Download artifact
42da5e 23         uses: actions/download-artifact@v4
fd0b0f 24         with:
JK 25           name: jar
26
27       - id: create_release
28         name: Create release
1580e8 29         uses: softprops/action-gh-release@v2
fd0b0f 30         with:
fe16b8 31           name: ${{ needs.build.outputs.project_name }} ${{ needs.build.outputs.project_version }}
JK 32           files: ${{ needs.build.outputs.artifact_id }}-${{ needs.build.outputs.project_version }}.jar
33           fail_on_unmatched_files: true
34           generate_release_notes: true