Skip to content

Commit

Permalink
add continuous release
Browse files Browse the repository at this point in the history
  • Loading branch information
c6-dev authored Jan 15, 2025
1 parent c6b7723 commit 56e274c
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,33 @@ jobs:
with:
name: JohnnyGuitarNVSE-Debug-${{ env.artifact_timestamp }}
path: |
Debug\johnnyguitar.dll
Debug\johnnyguitar.dll
- name: Create or Update Release
id: create_release
uses: actions/create-release@v1
with:
tag_name: continuous-${{ env.artifact_timestamp }}
release_name: "Continuous release"
draft: false
prerelease: true
body: |
Continuous build generated from the latest push to development branch.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Release Artifact (Release)
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: Release/johnnyguitar.dll
asset_name: johnnyguitar-Release-${{ env.artifact_timestamp }}.dll
asset_content_type: application/octet-stream

- name: Upload Release Artifact (Debug)
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: Debug/johnnyguitar.dll
asset_name: johnnyguitar-Debug-${{ env.artifact_timestamp }}.dll
asset_content_type: application/octet-stream

0 comments on commit 56e274c

Please sign in to comment.