Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfsck authored Aug 29, 2020
1 parent 657ca7b commit b7d5728
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: GitHub CI
on: push
on:
push:
branches:
- master
pull_request:
branches:
- master
release:
types: released

jobs:
build:
Expand All @@ -17,21 +25,25 @@ jobs:
.\build.ps1
- uses: actions/upload-artifact@v1
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
with:
name: de4dot-net35
path: Release/net35

- uses: actions/upload-artifact@v1
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
with:
name: de4dot-net45
path: Release/net45

- uses: actions/upload-artifact@v1
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
with:
name: de4dot-netcoreapp2.1
path: publish-netcoreapp2.1

- uses: actions/upload-artifact@v1
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
with:
name: de4dot-netcoreapp3.1
path: publish-netcoreapp3.1

0 comments on commit b7d5728

Please sign in to comment.