Skip to content

Commit

Permalink
Remove obsolete complexity
Browse files Browse the repository at this point in the history
  • Loading branch information
fs-c committed Oct 18, 2019
1 parent 4233e22 commit b06c9e8
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
os: [ubuntu-latest, windows-latest]
include:
- os: windows-latest
file_extension: exe
file_extension: .exe
file_name: words.exe
asset_name: words-windows.exe
- os: ubuntu-latest
Expand All @@ -33,17 +33,14 @@ jobs:
with:
compiler: ldc-latest

- name: Write Build Config
run: 'echo "{ \"name\": \"words\", \"dflags\": [\"-of=words-${{ matrix.os }}${{ matrix.file_extension }}\"] }" > dub.json'

- name: Build Project
run: 'dub build -y --build=release'

- name: Cleanup
run: rm dub.json
- name: Normalize Output Name
run: mv words${{ matrix.file_extension }} words-${{ matrix.os }}${{matrix.file_extension}}

release:
name: Release words
name: Create release
runs-on: ubuntu-latest

needs: build
Expand Down

0 comments on commit b06c9e8

Please sign in to comment.