Skip to content

Commit cd34e12

Browse files
Merge branch 'release/3.10'
2 parents 8e74f2d + 0d3157e commit cd34e12

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@ on:
1010
jobs:
1111

1212
package:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-24.04
1414
name: Empacotar executavel
1515
steps:
1616
- uses: actions/checkout@v2
17-
- uses: actions/setup-java@v2
17+
- uses: actions/setup-java@v3
1818
with:
1919
java-version: '8'
20-
distribution: 'adopt'
20+
distribution: 'temurin'
2121
cache: maven
2222

2323
- name: Cache local Maven repository
2424
uses: actions/cache@v3
2525
with:
2626
path: ~/.m2/repository
27-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
27+
key: maven-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
2828
restore-keys: |
29-
${{ runner.os }}-maven-
29+
maven-${{ runner.os }}-
3030
3131
- name: Ajustando Timezone
3232
uses: szenius/[email protected]
@@ -55,18 +55,18 @@ jobs:
5555
with:
5656
draft: false
5757
prerelease: false
58-
release_name: ${{ steps.version.outputs.version }}
58+
release_name: ${{ github.ref_name }}
5959
tag_name: ${{ github.ref }}
6060
body_path: CHANGELOG.md
6161
env:
62-
GITHUB_TOKEN: ${{ github.token }}
62+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6363

6464
- name: Subir executavel (zip) para release external jar
6565
uses: actions/upload-release-asset@v1
6666
env:
6767
GITHUB_TOKEN: ${{ github.token }}
6868
with:
6969
upload_url: ${{ steps.create_release.outputs.upload_url }}
70-
asset_path: ./java-certificado-${{github.ref_name}}.zip
71-
asset_name: java-certificado-${{github.ref_name}}.zip
70+
asset_path: ./java-certificado-${{ github.ref_name }}.zip
71+
asset_name: java-certificado-${{ github.ref_name }}.zip
7272
asset_content_type: application/zip

0 commit comments

Comments
 (0)