|
10 | 10 | jobs: |
11 | 11 |
|
12 | 12 | package: |
13 | | - runs-on: ubuntu-20.04 |
| 13 | + runs-on: ubuntu-24.04 |
14 | 14 | name: Empacotar executavel |
15 | 15 | steps: |
16 | 16 | - uses: actions/checkout@v2 |
17 | | - - uses: actions/setup-java@v2 |
| 17 | + - uses: actions/setup-java@v3 |
18 | 18 | with: |
19 | 19 | java-version: '8' |
20 | | - distribution: 'adopt' |
| 20 | + distribution: 'temurin' |
21 | 21 | cache: maven |
22 | 22 |
|
23 | 23 | - name: Cache local Maven repository |
24 | 24 | uses: actions/cache@v3 |
25 | 25 | with: |
26 | 26 | path: ~/.m2/repository |
27 | | - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} |
| 27 | + key: maven-${{ runner.os }}-${{ hashFiles('**/pom.xml') }} |
28 | 28 | restore-keys: | |
29 | | - ${{ runner.os }}-maven- |
| 29 | + maven-${{ runner.os }}- |
30 | 30 |
|
31 | 31 | - name: Ajustando Timezone |
32 | 32 | |
@@ -55,18 +55,18 @@ jobs: |
55 | 55 | with: |
56 | 56 | draft: false |
57 | 57 | prerelease: false |
58 | | - release_name: ${{ steps.version.outputs.version }} |
| 58 | + release_name: ${{ github.ref_name }} |
59 | 59 | tag_name: ${{ github.ref }} |
60 | 60 | body_path: CHANGELOG.md |
61 | 61 | env: |
62 | | - GITHUB_TOKEN: ${{ github.token }} |
| 62 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
63 | 63 |
|
64 | 64 | - name: Subir executavel (zip) para release external jar |
65 | 65 | uses: actions/upload-release-asset@v1 |
66 | 66 | env: |
67 | 67 | GITHUB_TOKEN: ${{ github.token }} |
68 | 68 | with: |
69 | 69 | 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 |
72 | 72 | asset_content_type: application/zip |
0 commit comments