Skip to content

Commit

Permalink
fix workflow and update test step action version
Browse files Browse the repository at this point in the history
  • Loading branch information
antoooks committed Feb 12, 2024
1 parent dc8f34f commit 28e0f9e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
go install github.com/jstemmer/go-junit-report@latest
make test-unit-all | go-junit-report -set-exit-code > report.xml
- name: Test Summary
uses: test-summary/action@v1
uses: test-summary/action@v2
with:
paths: |
./report.xml
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
# Create release draft
changelog_file=$(mktemp)
currentBranch=$(git rev-parse --abbrev-ref HEAD)
currentBranch=$(git describe --tags)
module=$(echo "${currentBranch}" | cut -d'-' -f1)
version=${currentBranch##*-}
currentTag="${module}/${version}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-cmd-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
go install github.com/jstemmer/go-junit-report@latest
make test-unit-all | go-junit-report -set-exit-code > report.xml
- name: Test Summary
uses: test-summary/action@v1
uses: test-summary/action@v2
with:
paths: |
./report.xml
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
# Create release draft
changelog_file=$(mktemp)
currentBranch=$(git rev-parse --abbrev-ref HEAD)
currentBranch=$(git describe --tags)
module=$(echo "${currentBranch}" | cut -d'-' -f1)
version=${currentBranch##*-}
currentTag="${module}/${version}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-kustomize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
go-version-file: go.work
cache-dependency-path: "**/*.sum"
- name: Test Summary
uses: test-summary/action@v1
uses: test-summary/action@v2
with:
paths: |
./report.xml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-kyaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
go install github.com/jstemmer/go-junit-report@latest
make test-unit-all | go-junit-report -set-exit-code > report.xml
- name: Test Summary
uses: test-summary/action@v1
uses: test-summary/action@v2
with:
paths: |
./report.xml
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
# Create release draft
changelog_file=$(mktemp)
currentBranch=$(git rev-parse --abbrev-ref HEAD)
currentBranch=$(git describe --tags)
module=$(echo "${currentBranch}" | cut -d'-' -f1)
version=${currentBranch##*-}
currentTag="${module}/${version}"
Expand Down
2 changes: 1 addition & 1 deletion releasing/build-kustomize-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function build_kustomize_binary {

main() {

currentBranch=$(git rev-parse --abbrev-ref HEAD)
currentBranch=$(git describe --tags)
module=$(echo "${currentBranch}" | cut -d'-' -f1)
version=${currentBranch##*-}
currentTag="${module}/${version}"
Expand Down

0 comments on commit 28e0f9e

Please sign in to comment.