diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/release.yml | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 1350854..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: Tag and Release -on: workflow_dispatch - -jobs: - tag-and-release: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v3 - with: - # NOTE: Fetch all for counting commits - fetch-depth: 0 - - uses: actions/setup-java@v3 - with: - distribution: 'adopt' - java-version: 21 - - uses: DeLaGuardo/setup-clojure@13.4 - with: - cli: 1.12.0.1530 - - - name: Show versions - run: | - java -version - clojure --version - - - name: deploy to clojars - # NOTE: Specify ID to refer outputs from other steps - id: deploy - run: | - clojure -T:build deploy - env: - CLOJARS_PASSWORD: ${{secrets.CLOJARS_PASSWORD}} - CLOJARS_USERNAME: ${{secrets.CLOJARS_USERNAME}} - - - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - # NOTE: Refer outputs - tag_name: ${{ steps.deploy.outputs.version }} - release_name: ${{ steps.deploy.outputs.version }} - body: released - draft: false - prerelease: false - - - run: | - clojure -T:build update-documents - git diff - git config --global user.email "github-actions@example.com" - git config --global user.name "github-actions" - git add -A - git commit -m "Update for release" - git push
\ No newline at end of file |
