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