Skip to content

Commit

Permalink
#8 : Set up Github workflow for publishing
Browse files Browse the repository at this point in the history
* Preparation for `1.0.0` release.
  • Loading branch information
carlspring committed Jul 13, 2023
1 parent e9a7220 commit 9b1439f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
ls -al
- name: Get Version ID from the Versions List
if: ${{ steps.package.outputs.versionId != 'unknown' }}
id: package
run: |
# For dev
Expand Down Expand Up @@ -127,7 +128,7 @@ jobs:
run: echo "The selected Version ID is ${{ steps.package.outputs.versionId }}"

- uses: actions/delete-package-versions@v4
if: ${{ steps.package.outputs.versionId != 'unknown' }}
if: ${{ steps.package.outputs.isSnapshot == 'true' }}
with:
token: ${{ secrets.CS_DEVOPS_BOT_TOKEN }}

Expand Down

0 comments on commit 9b1439f

Please sign in to comment.