Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-dkrz committed Oct 28, 2024
1 parent e0df6ba commit 1be07ac
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt
- name: Save Release URL File for publish
if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: release_url
path: release_url.txt
Expand Down Expand Up @@ -129,9 +129,10 @@ jobs:
shell: pwsh
- name: Load Release URL File from release job
if: startsWith(github.ref, 'refs/tags/')
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: release_url
path: release_url
- name: Get version
id: version
run: |
Expand Down Expand Up @@ -159,7 +160,7 @@ jobs:
asset_name: deploy-freva-v${{steps.version.outputs.tag}}-${{matrix.target}}.zip
asset_content_type: application/zip
- name: Upload cmd Asset
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: deploy-freva-v${{steps.version.outputs.tag}}-${{matrix.target}}.zip
name: deploy-freva-v${{steps.version.outputs.tag}}-${{matrix.target}}.zip
Expand Down Expand Up @@ -250,9 +251,10 @@ jobs:
- name: Load Release URL File from release job
if: startsWith(github.ref, 'refs/tags/')
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: release_url
path: release_url
- name: Get Release File Name & Upload URL
if: startsWith(github.ref, 'refs/tags/')
id: release_url
Expand All @@ -271,7 +273,7 @@ jobs:
asset_name: deploy-freva-v${{steps.version.outputs.tag}}-${{matrix.target}}.tar.gz
asset_content_type: application/gzip
- name: Upload cmd Asset
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: deploy-freva-v${{steps.version.outputs.tag}}-${{matrix.target}}.tar.gz
name: deploy-freva-v${{steps.version.outputs.tag}}-${{matrix.target}}.tar.gz
Expand Down Expand Up @@ -365,7 +367,7 @@ jobs:
-C ./dist deploy-freva
- name: Load Release URL File from release job
if: startsWith(github.ref, 'refs/tags/')
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: release_url
path: release_url
Expand All @@ -387,7 +389,7 @@ jobs:
asset_content_type: application/gzip

- name: Upload cmd Asset
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: deploy-freva-v${{steps.version.outputs.tag}}-${{matrix.target}}.tar.gz
name: deploy-freva-v${{steps.version.outputs.tag}}-${{matrix.target}}.tar.gz
Expand Down

0 comments on commit 1be07ac

Please sign in to comment.