Skip to content

Commit

Permalink
Artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
DrRetro2033 committed Aug 16, 2024
1 parent 1f48197 commit de5fdaa
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 37 deletions.
37 changes: 34 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,41 @@
name: build

on:
push:
branches:
- main
workflow_dispatch:
- "feature/*"
pull_request:
branches:
- main

jobs:
call-test:
uses: ./.github/workflows/compile.yml
build:
runs-on: ${{ matrix.os }}

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup Dart SDK
uses: dart-lang/[email protected]

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}
path: ${{ matrix.output }}

strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
platform: linux
output: "build/releases/example-v0.0.1-alpha.1-linux-amd64.tar.gz"
- os: windows-latest
platform: windows
output: "build/releases/example-v0.0.1-alpha.1-windows-amd64.tar.gz"
- os: macos-latest
platform: macos
output: "build/releases/example-v0.0.1-alpha.1-macos-arm64.tar.gz"
34 changes: 0 additions & 34 deletions .github/workflows/compile.yml

This file was deleted.

0 comments on commit de5fdaa

Please sign in to comment.