Skip to content

Commit 59bec1e

Browse files
committed
ci: clean up
1 parent 57537a5 commit 59bec1e

File tree

1 file changed

+2
-35
lines changed

1 file changed

+2
-35
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -22,52 +22,19 @@ jobs:
2222
BUILD_VERSION: ${{ env.BUILD_VERSION }}
2323

2424
steps:
25-
# - name: checkout
26-
# uses: actions/checkout@v6
27-
2825
- name: get version
2926
id: get-version
3027
uses: openapi-processor/openapi-processor-base/.github/actions/version@main
3128
with:
3229
version-file: 'gradle/libs.versions.toml'
3330
version-path: 'versions.processor'
3431

35-
- name: echo version
32+
- name: set output version
3633
shell: bash
3734
run: |
3835
echo BUILD_VERSION="${{steps.get-version.outputs.build-version}}" >> $GITHUB_ENV
3936
cat $GITHUB_ENV
4037
41-
# SomeUser/SomeRepo/.github/actions/build@main
42-
43-
# version:
44-
# name: check version
45-
# runs-on: ubuntu-latest
46-
# outputs:
47-
# BUILD_VERSION: ${{ env.BUILD_VERSION }}
48-
#
49-
# steps:
50-
# - name: Set up Homebrew
51-
# id: set-up-homebrew
52-
# uses: Homebrew/actions/setup-homebrew@main
53-
#
54-
# - name: checkout
55-
# uses: actions/checkout@v6
56-
#
57-
# - name: install dasel
58-
# run: |
59-
# brew install dasel
60-
# cat $GITHUB_ENV
61-
#
62-
# - name: extract version
63-
# run: |
64-
# version=`cat gradle/libs.versions.toml | dasel -i toml 'versions.processor'`
65-
# echo BUILD_VERSION="${version#projectVersion=}" >> $GITHUB_ENV
66-
# cat $GITHUB_ENV
67-
#
68-
# - name: actor
69-
# run: echo ${{ github.actor }} ${{ github.actor == 'hauner' }}
70-
7138
test:
7239
name: test
7340

@@ -104,7 +71,7 @@ jobs:
10471
path: '*/build/reports'
10572

10673
check-publish:
107-
needs: [version, test ]
74+
needs: [version, test]
10875
name: check publish
10976

11077
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)