Skip to content

Commit

Permalink
Merge pull request #427 from MORE-Platform/github-actions
Browse files Browse the repository at this point in the history
Update and align upload and download actions
  • Loading branch information
alireza-dhp committed Apr 26, 2024
2 parents b18ba87 + 561c048 commit 8e04fdf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
key: "${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}"
restore-keys: |
${{ runner.os }}-node-
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Upload License List
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 3rd Party Licenses
path: "target/THIRD_PARTY.txt"
Expand All @@ -62,7 +62,7 @@ jobs:
#
# - name: Upload Test Results
# if: always()
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# with:
# name: Test Results
# path: "target/testResults.xml"
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
id: meta
uses: docker/metadata-action@v4.6.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
images: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}"
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=pr
Expand All @@ -116,7 +116,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Event File
path: ${{ github.event_path }}

0 comments on commit 8e04fdf

Please sign in to comment.