Skip to content

Commit

Permalink
ci: target archs
Browse files Browse the repository at this point in the history
  • Loading branch information
andreszorro committed Mar 6, 2024
1 parent 827cd07 commit da4d34a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Build, Test and Release

on: push

permissions:
contents: write

jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -22,6 +19,7 @@ jobs:
bun install
bun test:ci
build:
needs: test
name: build-${{matrix.name}}
runs-on: ${{matrix.runs-on}}
strategy:
Expand Down Expand Up @@ -75,7 +73,10 @@ jobs:
./dist/scfz-*.tar.gz
if-no-files-found: error
release:
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -95,8 +96,9 @@ jobs:
bun changelog --file ./dist/changelog.txt --tag $(git tag --list --sort=v:refname | grep -v beta | tail -n 1)
cat ./dist/changelog.txt
- uses: actions/download-artifact@v4
with: { path: artifacts }
- run: ls -la .
with:
path: ./dist
- run: ls -la ./dist
# - name: Release
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit da4d34a

Please sign in to comment.