-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1db89b1
commit 9dc5f27
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
- name: Upload file status_job1.txt as an artifact | ||
if: always() | ||
uses: actions/upload-artifact@v1 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: pass_status_job1 | ||
path: status_job1.txt | ||
|
@@ -56,7 +56,7 @@ jobs: | |
echo ${{ job.status }} > status_job2.txt | ||
- name: Upload file status_job2.txt as an artifact | ||
if: always() | ||
uses: actions/upload-artifact@v1 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: pass_status_job2 | ||
path: status_job2.txt | ||
|
@@ -73,7 +73,7 @@ jobs: | |
echo ${{ job.status }} > status_job3.txt | ||
- name: Upload file status_job3.txt as an artifact | ||
if: always() | ||
uses: actions/upload-artifact@v1 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: pass_status_job3 | ||
path: status_job3.txt | ||
|
@@ -84,17 +84,17 @@ jobs: | |
if: always() | ||
steps: | ||
- name: Download artifact pass_status_job1 | ||
uses: actions/[email protected].7 | ||
uses: actions/[email protected].8 | ||
with: | ||
name: pass_status_job1 | ||
|
||
- name: Download artifact pass_status_job2 | ||
uses: actions/[email protected].7 | ||
uses: actions/[email protected].8 | ||
with: | ||
name: pass_status_job2 | ||
|
||
- name: Download artifact pass_status_job3 | ||
uses: actions/[email protected].7 | ||
uses: actions/[email protected].8 | ||
with: | ||
name: pass_status_job3 | ||
|
||
|
@@ -121,7 +121,7 @@ jobs: | |
env: | ||
MY_KEY: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
if: "${{ env.MY_KEY != '' }}" | ||
run: echo "::set-output name=defined::true" | ||
run: echo "defined=true" >> $GITHUB_OUTPUT | ||
|
||
job5: | ||
runs-on: ubuntu-latest | ||
|
@@ -141,7 +141,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- id: step1 | ||
run: echo "::set-output name=test::hello" | ||
run: echo "test=hello" >> $GITHUB_OUTPUT | ||
- name: step 2 | ||
if: contains(steps.step1.outputs.test, 'hello') | ||
run: echo 'is executed' | ||
|