Skip to content

Commit

Permalink
Include Checker in automatic release
Browse files Browse the repository at this point in the history
  • Loading branch information
Hutsimbl authored May 11, 2023
1 parent 78be267 commit 14a0f07
Showing 1 changed file with 7 additions and 59 deletions.
66 changes: 7 additions & 59 deletions .github/workflows/automatic_build_in_release_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,83 +30,31 @@ jobs:
name: DataCatPluginInstaller
path: ./DataCatPlugin_Installer/bin/x64/Release/DataCatPlugin_Installer.msi

#- name: Upload CityBIMInstaller
# uses: actions/upload-artifact@v3
# with:
# name: CityBIMInstaller
# path: ./CityBIM_InstallerWix4/bin/x64/Release/CityBIM_InstallerWix4.msi
- name: Upload CityBIMInstaller
uses: actions/upload-artifact@v3
with:
name: CityBIMInstaller
path: ./CityBIM_InstallerWix4/bin/x64/Release/CityBIM_InstallerWix4.msi

- name: Upload IfcGeoRefChecker
uses: actions/upload-artifact@v3
with:
name: IfcGeoRefCheckerGUI
path: ./IFCGeoRefCheckerGUI/bin/Release/net6.0-windows/

#- name: Download IfcGeoRefChecker
# id: download
# uses: actions/download-artifact@v3
# with:
# name: IfcGeoRefCheckerGUI
# path: ./download/IfcGeoRefCheckerGUI

- name: CreateZipDestination
run: mkdir CheckerZipped

- name: ZipOutput
run: Compress-Archive -Path ./IFCGeoRefCheckerGUI/bin/Release/net6.0-windows -DestinationPath ./CheckerZipped/Checker.zip

#- name: Navigate to download folder
# run: cd ./download/IfcGeoRefCheckerGUI

- name: Display structure of downloaded files
run: ls -R

#- name: Navigate to Workspace
# run: cd $GITHUB_WORKSPACE


run: Compress-Archive -Path ./IFCGeoRefCheckerGUI/bin/Release/net6.0-windows -DestinationPath ./CheckerZipped/IFCGeoRefChecker.zip

- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
files: |
./DataCatPlugin_Installer/bin/x64/Release/DataCatPlugin_Installer.msi
./CityBIM_InstallerWix4/bin/x64/Release/CityBIM_InstallerWix4.msi
./CheckerZipped/Checker.zip
./CheckerZipped/IFCGeoRefChecker.zip
name: Automatic release from action run ${{ github.run_number }}
tag_name: ${{github.run_number}}




# - name: Create GitHub relase
# uses: "marvinpinto/action-automatic-releases@latest"
# with:
# 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: 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 14a0f07

Please sign in to comment.