Skip to content

Commit

Permalink
chore(ci): ...
Browse files Browse the repository at this point in the history
  • Loading branch information
nathancartlidge committed May 3, 2024
1 parent 9e56644 commit ed33d8e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,25 @@ jobs:
needs: [build]

steps:
# unfortunately we have to redo these steps
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Read Version
run: |
echo "PLUGIN_VERSION=$(git describe --tags --dirty --candidates 1 --always)" >> $env:GITHUB_ENV
- name: Upload the artifact(s)
uses: actions/upload-artifact@v4
with:
name: ${{ env.PLUGIN_NAME }}-${{ env.PLUGIN_VERSION }}.zip
path: ${{ env.PLUGIN_NAME }}-*.zip
path: ${{ env.PLUGIN_NAME }}-${{ env.PLUGIN_VERSION }}-*.zip

- name: Create a release
uses: softprops/action-gh-release@v2
with:
draft: true
files: |
${{ env.PLUGIN_NAME }}-*.zip
${{ env.PLUGIN_NAME }}-${{ env.PLUGIN_VERSION }}-*.zip

0 comments on commit ed33d8e

Please sign in to comment.