Skip to content

Commit

Permalink
test with new release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Hutsimbl authored Apr 28, 2023
1 parent 466fc76 commit 1ab5202
Showing 1 changed file with 27 additions and 16 deletions.
43 changes: 27 additions & 16 deletions .github/workflows/automatic_build_in_release_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,33 @@ jobs:
name: IfcGeoRefCheckerGUI
path: ./IFCGeoRefCheckerGUI/bin/Release/net6.0-windows/

- name: Create GitHub release
id: create-new-release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create GitHub relase
uses: "marvinpinto/action-automatic-releases@latest"
with:
tag_name: ${{ github.run_number }}
release_name: Automatic release from action run ${{github.run_number }}
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: Automatic release from action run ${{ github.run_number }}
files: |
./DataCatPlugin_Installer/bin/x64/Release/DataCatPlugin_Installer.msi
./CityBIM_InstallerWix4/bin/x64/Release/CityBIM_InstallerWix4.msi
- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{steps.create-new-release.outputs.upload_url }}
asset_path: ./CityBIM_InstallerWix4/bin/x64/Release/CityBIM_InstallerWix4.msi
asset_name: CityBIM_fromRun${{ github.run_number }}
asset_content_type: application/octet-stream
# - name: Create GitHub release
# id: create-new-release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ github.run_number }}
# release_name: Automatic release from action run ${{github.run_number }}
# prerelease: true
#
# - name: Upload release asset
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{steps.create-new-release.outputs.upload_url }}
# asset_path: ./CityBIM_InstallerWix4/bin/x64/Release/CityBIM_InstallerWix4.msi
# asset_name: CityBIM_fromRun${{ github.run_number }}
# asset_content_type: application/octet-stream

0 comments on commit 1ab5202

Please sign in to comment.