Skip to content

Commit

Permalink
fix the env for the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rogchap committed Nov 8, 2020
1 parent a1a24a4 commit 7ae0c70
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# TODO(rogchap): Change to be just release tags
on: push

env:
wombat-version: 0.2.0-dev # TODO(rogchap) Read this directly from the tag

jobs:
package:
strategy:
matrix:
wombat-version: 0.2.0-dev # TODO(rogchap) Read this directly from the tag
go-version: 1.15.x
go-version: [1.15.x]
platform: [macos-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -23,7 +25,7 @@ jobs:
run: |
mkdir -p ~/.wails
cp wails.json ~/.wails/
wails build -f -p -ldflags "-X wombat/internal/app.semver=${{ matrix.wombat-version }}"
wails build -f -p -ldflags "-X wombat/internal/app.semver=${{ env.wombat-version }}"
- name: Create darwin disk igage
if: matrix.platform == 'macos-latest'
run: |
Expand All @@ -33,5 +35,5 @@ jobs:
- name: Upload darwin artifact
uses: actions/upload-artifact@v2
with:
name: Wombat_${{ matrix-wombat-version }}_Darwin_x86_64.dmg
name: Wombat_${{ env.wombat-version }}_Darwin_x86_64.dmg
path: Wombat.dmg

0 comments on commit 7ae0c70

Please sign in to comment.