Skip to content

Update README

Update README #20

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Build ImageShaper
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: "Install .NET Framework 3.5 & 7-Zip"
run: |
Enable-WindowsOptionalFeature -Online -FeatureName "Netfx3" -All
choco install 7zip
- name: "Build"
run: C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe ImageShaper.csproj
- name: Upload ImageShaper Artifacts
uses: actions/upload-artifact@v2
with:
name: ImageShaper_CHS
path: bin/Release/
- name: Package ImageShaper
run: 7z a -mx=9 ImageShaper_CHS.zip ./bin/Release/*
- name: Release ImageShaper
if: github.event_name != 'pull_request'
uses: marvinpinto/action-automatic-releases@master
with:
title: "ImageShaper_CHS"
automatic_release_tag: "CHS"
repo_token: "${{ secrets.GITHUB_TOKEN }}"
files: ImageShaper_CHS.zip
prerelease: false