Update README-ja.md file with improved clarity and attractiveness. #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MSBuild | |
on: | |
pull_request: | |
types: [synchronize, opened] | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v1.0.2 | |
- run: | | |
msbuild -version /p:Configuration=Release | |
- name: List build artifacts | |
run: | | |
dir | |
- name: List build artifacts | |
run: | | |
dir RunAgentClient | |
- name: List build artifacts | |
run: | | |
dir RunAgentClientbin\bin | |
- name: List build artifacts | |
run: | | |
dir RunAgentClient\bin\Release | |
- name: Archive build artifacts | |
run: | | |
Compress-Archive -Path RunAgentClient/bin/Release -DestinationPath build-artifacts.zip | |
- name: Create GitHub Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: Release ${{ github.ref }} | |
draft: false | |
prerelease: false | |
- name: Upload Release Asset | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: build-artifacts.zip | |
asset_name: build-artifacts.zip | |
asset_content_type: application/zip |