Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
RednibCoding committed Jun 21, 2024
1 parent f4546b8 commit 9a18048
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/go-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,27 @@ jobs:
include:
- goos: linux
goarch: amd64
dir: artifacts
dir: dist
extension: "-linux-amd64"
- goos: linux
goarch: arm64
dir: artifacts
dir: dist
extension: "-linux-arm64"
- goos: windows
goarch: amd64
dir: artifacts
dir: dist
extension: "-windows-amd64.exe"
- goos: windows
goarch: arm64
dir: artifacts
dir: dist
extension: "-windows-arm64.exe"
- goos: darwin
goarch: amd64
dir: artifacts
dir: dist
extension: "-darwin-amd64"
- goos: darwin
goarch: arm64
dir: artifacts
dir: dist
extension: "-darwin-arm64"

steps:
Expand All @@ -66,12 +66,12 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: rune-${{ matrix.goos }}-${{ matrix.goarch }}
path: artifacts
path: dist

- name: Log Upload Artifacts
run: |
echo "Uploaded artifacts:"
ls -l artifacts/
ls -l dist/
release:
needs: build
Expand Down Expand Up @@ -108,6 +108,11 @@ jobs:
draft: false
prerelease: false

- name: Debug Release Info
run: |
echo "Release tag: ${{ github.ref }}"
echo "Upload URL: ${{ steps.create_release.outputs.upload_url }}"
- name: Upload Release Assets
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 9a18048

Please sign in to comment.