Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
Signed-off-by: BT (calcastor/mame) <[email protected]>
  • Loading branch information
calcastor committed Jun 23, 2024
1 parent 79fc952 commit a2fcd81
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Maven
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.8
java-version: 21
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v9
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/push-gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '8'
java-version: '21'
- name: Build jar
run: mvn --batch-mode --update-snapshots verify
- name: Move generated jar file
run: mv target/ingame-*.jar ingame.jar
- name: Create Release
id: create_release
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master')
uses: actions/create-release@v1
uses: actions/create-release@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Upload Release Asset
id: upload-release-asset
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master')
uses: actions/upload-release-asset@v1
uses: actions/upload-release-asset@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down

0 comments on commit a2fcd81

Please sign in to comment.