Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
firestar committed Dec 27, 2023
1 parent a172783 commit 9112e5a
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/memcache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,10 @@ name: Publish memcached server
on:
push
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '19'
distribution: 'adopt'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@ccb4328a959376b642e027874838f60f8e596de3
- name: Publish package
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629
with:
arguments: "shadowJar publish"
env:
SYNLOAD_REPO_USER: ${{ secrets.SYNLOAD_REPO_USER}}
SYNLOAD_REPO_PASS: ${{ secrets.SYNLOAD_REPO_PASS}}
docker-publish:
runs-on: ubuntu-latest
permissions:
contents: read
contents: write
packages: write
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 9112e5a

Please sign in to comment.