fixing artifact handling, manual upload
This commit is contained in:
@@ -23,12 +23,15 @@ jobs:
|
|||||||
- name: 'yellowjacket'
|
- name: 'yellowjacket'
|
||||||
platform: 'linux/amd64'
|
platform: 'linux/amd64'
|
||||||
os: 'ubuntu-latest'
|
os: 'ubuntu-latest'
|
||||||
|
bin-name: 'yellowjacket'
|
||||||
- name: 'yellowjacket.exe'
|
- name: 'yellowjacket.exe'
|
||||||
platform: 'windows/amd64'
|
platform: 'windows/amd64'
|
||||||
os: 'windows-latest'
|
os: 'windows-latest'
|
||||||
|
bin-name: 'yellowjacket.exe'
|
||||||
- name: 'yellowjacket'
|
- name: 'yellowjacket'
|
||||||
platform: 'darwin/universal'
|
platform: 'darwin/universal'
|
||||||
os: 'macos-latest'
|
os: 'macos-latest'
|
||||||
|
bin-name: 'yellowjacket.app'
|
||||||
|
|
||||||
runs-on: ${{ matrix.build.os }}
|
runs-on: ${{ matrix.build.os }}
|
||||||
steps:
|
steps:
|
||||||
@@ -54,11 +57,21 @@ jobs:
|
|||||||
build-name: ${{ matrix.build.name }}
|
build-name: ${{ matrix.build.name }}
|
||||||
build-platform: ${{ matrix.build.platform }}
|
build-platform: ${{ matrix.build.platform }}
|
||||||
go-version: '1.24'
|
go-version: '1.24'
|
||||||
|
package: false
|
||||||
|
app-working-directory: /yj
|
||||||
|
|
||||||
|
- name: Upload Binaries
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: YellowJacket ${{ matrix.build.platform }}
|
||||||
|
path: /yj/build/bin/${{ matrix.build.bin-name }}
|
||||||
|
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
|
- name: Download Artifacts
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
if: github.ref_type == 'tag'
|
if: github.ref_type == 'tag'
|
||||||
@@ -76,7 +89,4 @@ jobs:
|
|||||||
- Linux: `yellowjacket`
|
- Linux: `yellowjacket`
|
||||||
- Windows: `yellowjacket.exe`
|
- Windows: `yellowjacket.exe`
|
||||||
- MacOS: `yellowjacket.app.zip`
|
- MacOS: `yellowjacket.app.zip`
|
||||||
files: |
|
files: ${{ github.workspace }}/yellowjacket*
|
||||||
./build/bin/yellowjacket
|
|
||||||
./build/bin/yellowjacket.exe
|
|
||||||
./build/bin/yellowjacket.app.zip
|
|
||||||
|
|||||||
Reference in New Issue
Block a user