Skip to content

Commit

Permalink
testing release
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffcaseyyet committed Jul 16, 2024
1 parent 3b92bea commit 3f9f260
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,30 +58,31 @@ jobs:
name: datasim-bundle-artifact-${{ github.sha }}
path: datasim-bundle.zip

deploy:
runs-on: ubuntu-latest

if: ${{ github.ref_type == 'tag' }}

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup CD environment
uses: yetanalytics/action-setup-env@v1

- name: Extract version
id: version
run: echo version=${GITHUB_REF#refs\/tags\/v} >> $GITHUB_OUTPUT

- name: Build and deploy to Clojars
uses: yetanalytics/action-deploy-clojars@v1
with:
artifact-id: 'datasim'
version: ${{ steps.version.outputs.version }}
resource-dirs: '[]'
clojars-username: ${{ secrets.CLOJARS_USERNAME }}
clojars-deploy-token: ${{ secrets.CLOJARS_PASSWORD }}
# Temporarily commenting deploy to test release
# deploy:
# runs-on: ubuntu-latest
#
# if: ${{ github.ref_type == 'tag' }}
#
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
#
# - name: Setup CD environment
# uses: yetanalytics/action-setup-env@v1
#
# - name: Extract version
# id: version
# run: echo version=${GITHUB_REF#refs\/tags\/v} >> $GITHUB_OUTPUT
#
# - name: Build and deploy to Clojars
# uses: yetanalytics/action-deploy-clojars@v1
# with:
# artifact-id: 'datasim'
# version: ${{ steps.version.outputs.version }}
# resource-dirs: '[]'
# clojars-username: ${{ secrets.CLOJARS_USERNAME }}
# clojars-deploy-token: ${{ secrets.CLOJARS_PASSWORD }}

release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3f9f260

Please sign in to comment.