Skip to content

Commit 8d79020

Browse files
authored
Update GitHub Actions to create release on push
1 parent f606fb4 commit 8d79020

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,12 @@ jobs:
5454
done < <(find . -mindepth 1 -maxdepth 1 -type d -not -path "*.kext" | cut -c 3-)
5555
cd -
5656
57-
- name: Upload AutoPkg Package to Artifacts
58-
uses: actions/upload-artifact@v4
57+
- name: Create Release on Push
58+
uses: softprops/action-gh-release@v2
5959
with:
60-
name: ${{ env.BUILD_OUTPUT }}/alpha.zip
61-
path: ${{ env.BUILD_OUTPUT }}/alpha.zip
60+
prerelease: true
61+
bodyFile: ReleaseNotes.md
62+
files: "${{ env.BUILD_OUTPUT }}/*.zip"
63+
tag: "v${{ env.ITLWM_VER }}-alpha"
64+
token: ${{ secrets.GITHUB_TOKEN }}
6265

0 commit comments

Comments
 (0)