Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxIsJoe committed Dec 7, 2024
1 parent 2adcc9b commit 48ddd9c
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ jobs:
relative_project_path: ./
archive_output: true

- name: Magic Version
uses: sinkcup/[email protected]
env:
TAG_PREFIX: v # optional

- name: Upload Artifact
uses: actions/upload-artifact@v4
- name: Generate Version
id: versioning
uses: sceccotti89/[email protected]
- name: Get the output version
run: echo "Version = ${{ steps.versioning.outputs.version }}"
- name: create release
uses: ncipollo/[email protected]
with:
name: v-${{ env.MAGIC_VERSION }}
path: ${{ steps.export.outputs.archive_directory }}/*
token: ${{ secrets.GITHUB_TOKEN }}
generateReleaseNotes: true
tag: ${{ steps.versioning.outputs.version }}
artifacts: ${{ steps.export.outputs.archive_directory }}/*

0 comments on commit 48ddd9c

Please sign in to comment.