Skip to content

Commit

Permalink
fix(ci): path in download artifact (#60)
Browse files Browse the repository at this point in the history
* fix(ci): path in dl artifact
* fix(ci): release config
  • Loading branch information
mavogel authored Nov 30, 2021
1 parent 3a8ddc7 commit 3dc07f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ jobs:
uses: actions/download-artifact@v2
with:
name: awsu-macos-latest-amd64
path: build/awsu-macos-latest-amd64
path: build
- name: Download linux
uses: actions/download-artifact@v2
with:
name: awsu-ubuntu-latest-amd64
path: build/awsu-ubuntu-latest-amd64
path: build
- name: Correct goreleaser prebuilt path
run: |
# as it is the format goreleaser expects. See .goreleaser.yml -> prebuilt -> path
Expand All @@ -78,4 +78,6 @@ jobs:
version: latest
args: release --rm-dist --skip-publish --snapshot --skip-sign --debug
env:
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ jobs:
uses: actions/download-artifact@v2
with:
name: awsu-macos-latest-amd64
path: build/awsu-macos-latest-amd64
path: build
- name: Download linux
uses: actions/download-artifact@v2
with:
name: awsu-ubuntu-latest-amd64
path: build/awsu-ubuntu-latest-amd64
path: build
- name: Correct goreleaser prebuilt path
run: |
# as it is the format goreleaser expects. See .goreleaser.yml -> prebuilt -> path
Expand All @@ -70,8 +70,8 @@ jobs:
with:
distribution: goreleaser-pro
version: latest
args: release --rm-dist
args: release --rm-dist --skip-publish --snapshot --skip-sign --debug
env:
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
GORELEASER_TOKEN: ${{ secrets.GORELEASER_TOKEN }}

0 comments on commit 3dc07f9

Please sign in to comment.