Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdstyle committed Sep 29, 2024
1 parent 513e528 commit dd7c5d3
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/release_binary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-13]
name: [pixfolio-linux-amd64, pixfolio-darwin-amd64]
include:
- os: ubuntu-latest
output: pixfolio-linux-amd64

- os: macOS-13
output: pixfolio-darwin-amd64
steps:
- name: Set up Go
uses: actions/setup-go@v2
Expand All @@ -30,7 +35,7 @@ jobs:
sudo apt-get install libvips-dev
- name: Install macos deps
if: matrix.os == 'macos-13'
if: matrix.os == 'macOS-13'
run: |
brew install vips
Expand All @@ -44,7 +49,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.name }}
name: ${{ matrix.output }}
path: ./build

release:
Expand All @@ -54,13 +59,13 @@ jobs:
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: build-ubuntu-latest
name: pixfolio-ubuntu-latest
path: ./builds/pixfolio-linux-amd64

- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: build-macOS-13
name: pixfolio-macOS-13
path: ./builds/pixfolio-darwin-amd64

- uses: "marvinpinto/action-automatic-releases@latest"
Expand Down

0 comments on commit dd7c5d3

Please sign in to comment.