upload Release build
This commit is contained in:
parent
1a087a1743
commit
993f3d8856
@ -59,7 +59,33 @@ jobs:
|
||||
targetPlatform: ${{ matrix.targetPlatform }}
|
||||
# customParameters: '-myParameter myValue -myBoolean -ThirdParameter andItsValue'
|
||||
|
||||
- name: Zip build artifacts
|
||||
run: |
|
||||
mkdir -p zipped_builds
|
||||
zip -r zipped_builds/build_${{ matrix.targetPlatform }}.zip build/${{ matrix.targetPlatform }}
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Build
|
||||
path: build
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.sha }}
|
||||
release_name: Release ${{ github.sha }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
- name: Upload Release Asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: zipped_builds/build_${{ matrix.targetPlatform }}.zip
|
||||
asset_name: build_${{ matrix.targetPlatform }}.zip
|
||||
asset_content_type: application/zip
|
Loading…
Reference in New Issue
Block a user