Skip to content

Commit

Permalink
build: fix release module
Browse files Browse the repository at this point in the history
  • Loading branch information
b4nst committed Feb 9, 2024
1 parent b80a78a commit 93fa7a0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 28 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/check.yml

This file was deleted.

16 changes: 15 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,21 @@ on:

jobs:
check:
uses: ./.github/workflows/check.yml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Setup
- name: Setup Toolchain
uses: moonrepo/setup-toolchain@v0
with:
auto-install: true
- name: Setup shellcheck
run: sudo snap install shellcheck
# Run
- run: moon ci

commits:
runs-on: ubuntu-latest
steps:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ permissions:
id-token: write # needed for signing

jobs:
check:
uses: ./.github/workflows/check.yml
release:
name: release
needs: check
runs-on: ubuntu-latest
steps:
# Checkout
Expand Down Expand Up @@ -60,5 +57,3 @@ jobs:
makeLatest: true
generateReleaseNotes: true
bodyFile: module_release.md


5 changes: 3 additions & 2 deletions .moon/tasks/cue-application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ tasks:

release:
command:
- '$workspaceRoot/tools/buildsystem/release-module.sh'
- '$workspaceRoot/tools/buildsystem/timoni_release.sh'
- '$project'
local: true # do not run with `moon check` or `moon ci`
deps:
- '^:release'
- '~:init'
- '~:vet' # Make sure to test before releasing
inputs:
- 'group(sources)'
- /tools/buildsystem/release-module.sh
- /tools/buildsystem/timoni_release.sh

0 comments on commit 93fa7a0

Please sign in to comment.