Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfaster authored Jul 9, 2020
1 parent 6390ae8 commit 4234cbc
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Name Asset
shell: bash
run: |
# Define some variables for things we need
tag=$(git describe --tags --abbrev=0)
release_name="App-$tag-${{ matrix.target }}"
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
Expand All @@ -34,10 +28,11 @@ jobs:
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Zip the Build
run: 7z a -tzip ${{ secrets.ReleaseZipName }} ./JitExplorer/bin/Release/netcoreapp3.1/
shell: pwsh
run: Compress-Archive -Path JitExplorer\bin\Release\netcoreapp3.1\* -DestinationPath C:\builtfiles\JitExplorer-win64.zip
- name: Release
uses: softprops/action-gh-release@v1
with:
files: JitExplorer*
files: C:\builtfiles\JitExplorer-win64.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4234cbc

Please sign in to comment.