Merge pull request #1058 from profunktor/update/logback-classic-1.5.19 #632
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| # to allow the manual trigger workflows | |
| workflow_dispatch: {} | |
| push: | |
| branches: | |
| - series/1.x # CE3 | |
| - series/2.x | |
| tags: | |
| - "v1.*" | |
| - "v2.*" | |
| jobs: | |
| build: | |
| name: Publish | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # fetch all branches & tags | |
| - name: "Install Nix ❄️" | |
| uses: cachix/install-nix-action@v31.2.0 | |
| - name: "Install Cachix ❄️" | |
| uses: cachix/cachix-action@v16 | |
| with: | |
| name: profunktor | |
| authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
| - name: "Publish ${{ github.ref }} 🚀" | |
| env: | |
| PGP_PASSPHRASE: "${{ secrets.PGP_PASSPHRASE }}" | |
| PGP_SECRET: "${{ secrets.PGP_SECRET }}" | |
| SONATYPE_PASSWORD: "${{ secrets.SONATYPE_PASSWORD }}" | |
| SONATYPE_USERNAME: "${{ secrets.SONATYPE_USERNAME }}" | |
| run: nix run .#sbt -- ci-release |