Skip to content

Commit

Permalink
fix(release): uploads cooked (#713)
Browse files Browse the repository at this point in the history
* bet

* fix

* fix

* try again

* bet

* bet

* fix

* bet

* bet

* ffff

* bet
  • Loading branch information
Devon Bear authored Apr 9, 2024
1 parent c04a01e commit ecf753d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ jobs:
# Build and capture an artifact
- name: Build beacond
run: |
make build
make build-${{ matrix.targetos }}-${{ matrix.arch }}
# Uploads binaries
- uses: actions/upload-artifact@v3
with:
name: beacond-${{ matrix.targetos }}-${{ matrix.arch }}
path: build/bin/beacond-${{ matrix.targetos }}-${{ matrix.arch }}
path: build/bin

build-mac:
runs-on: macos-latest
Expand All @@ -83,13 +83,13 @@ jobs:
# Build and capture an artifact
- name: Build beacond
run: |
make build-darwin-arm64
make build-${{ matrix.targetos }}-${{ matrix.arch }}
# Uploads binaries
- uses: actions/upload-artifact@v3
with:
name: beacond-${{ matrix.targetos }}-${{ matrix.arch }}
path: build/bin/beacond-${{ matrix.targetos }}-${{ matrix.arch }}
path: build/bin

draft-release:
runs-on: ubuntu-latest
Expand All @@ -102,18 +102,18 @@ jobs:
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
path: build/
path: .

- name: List files in build
run: ls -R build/
run: ls -R .

- name: Draft Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
draft: true
files: |
build/bin/beacond-linux-arm64
build/bin/beacond-linux-amd64
build/bin/beacond-darwin-arm64
./beacond-linux-arm64/beacond-linux-arm64
./beacond-linux-amd64/beacond-linux-amd64
./beacond-darwin-arm64/beacond-darwin-arm64
env:
GIT_TOKEN: ${{ secrets.DEV_PAT }}

0 comments on commit ecf753d

Please sign in to comment.