Skip to content

Commit

Permalink
Update workflow.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
xinkeng0 authored Dec 1, 2024
1 parent e07d643 commit 1e624d5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
cache: 'gradle'
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
sed -i "s/version=.*-SNAPSHOT$/version=$version/1" gradle.properties
./gradlew clean build -x test
- name: Archive plugin-text-diagram jar
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: plugin-text-diagram
path: |
Expand All @@ -75,7 +75,7 @@ jobs:
if: github.event_name == 'release'
steps:
- name: Download plugin-text-diagram jar
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: plugin-text-diagram
path: build/libs
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
with:
submodules: true
- name: Download plugin-text-diagram jar
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: plugin-text-diagram
path: build/libs
Expand All @@ -134,4 +134,4 @@ jobs:
release-id: ${{ github.event.release.id }}
assets-dir: "build/libs"
halo-username: ${{ secrets.HALO_USERNAME }}
halo-password: ${{ secrets.HALO_PASSWORD }}
halo-password: ${{ secrets.HALO_PASSWORD }}

0 comments on commit 1e624d5

Please sign in to comment.