Skip to content

Commit

Permalink
update test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-shellyw committed Nov 28, 2024
1 parent fa75ce2 commit 7073d82
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ jobs:

- name: Distribute Zip as lastest stable release
uses: softprops/action-gh-release@v2
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'stable')}}
with:
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'stable') }}
with:
make_latest: true
files: |
build/distributions/*.zip
- run: gradle distZip
- name: Distribute Zip as dev release
uses: softprops/action-gh-release@v2

if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'dev')}}
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'dev') }}
with:
make_latest: false
files: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 7.0.2
gradle-version: 7.4.2
- run: gradle test
- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 7.0.2
gradle-version: 7.4.2
- run: gradle distZip
- uses: browser-actions/setup-chrome@v1
- uses: nanasess/setup-chromedriver@v2
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 7.0.2
gradle-version: 7.4.2
- run: gradle distZip

- uses: browser-actions/setup-chrome@v1
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 7.0.2
gradle-version: 7.4.2
- run: gradle distZip

- uses: browser-actions/setup-chrome@v1
Expand Down

0 comments on commit 7073d82

Please sign in to comment.