@@ -58,31 +58,30 @@ jobs:
5858 name : datasim-bundle-artifact-${{ github.sha }}
5959 path : datasim-bundle.zip
6060
61- # Temporarily commenting deploy to test release
62- # deploy:
63- # runs-on: ubuntu-latest
64- #
65- # if: ${{ github.ref_type == 'tag' }}
66- #
67- # steps:
68- # - name: Checkout repository
69- # uses: actions/checkout@v3
70- #
71- # - name: Setup CD environment
72- # uses: yetanalytics/action-setup-env@v1
73- #
74- # - name: Extract version
75- # id: version
76- # run: echo version=${GITHUB_REF#refs\/tags\/v} >> $GITHUB_OUTPUT
77- #
78- # - name: Build and deploy to Clojars
79- # uses: yetanalytics/action-deploy-clojars@v1
80- # with:
81- # artifact-id: 'datasim'
82- # version: ${{ steps.version.outputs.version }}
83- # resource-dirs: '[]'
84- # clojars-username: ${{ secrets.CLOJARS_USERNAME }}
85- # clojars-deploy-token: ${{ secrets.CLOJARS_PASSWORD }}
61+ deploy :
62+ runs-on : ubuntu-latest
63+
64+ if : ${{ github.ref_type == 'tag' }}
65+
66+ steps :
67+ - name : Checkout repository
68+ uses : actions/checkout@v3
69+
70+ - name : Setup CD environment
71+ uses : yetanalytics/action-setup-env@v1
72+
73+ - name : Extract version
74+ id : version
75+ run : echo version=${GITHUB_REFrefs\/tags\/v} >> $GITHUB_OUTPUT
76+
77+ - name : Build and deploy to Clojars
78+ uses : yetanalytics/action-deploy-clojars@v1
79+ with :
80+ artifact-id : ' datasim'
81+ version : ${{ steps.version.outputs.version }}
82+ resource-dirs : ' []'
83+ clojars-username : ${{ secrets.CLOJARS_USERNAME }}
84+ clojars-deploy-token : ${{ secrets.CLOJARS_PASSWORD }}
8685
8786 release :
8887 runs-on : ubuntu-latest
0 commit comments