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

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