Skip to content

Commit

Permalink
switched to new output syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
maxschwarzmueller committed Nov 17, 2022
1 parent da59d36 commit 8f62fd7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: npm run build
- name: Publish JS filename
id: publish
run: find dist/assets/*.js -type f -execdir echo '::set-output name=script-file::{}' ';'
run: find dist/assets/*.js -type f -execdir echo 'script-file={}' >> $GITHUB_OUTPUT ';'
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
run: echo "Deploying & uploading..."
- name: Set result output
id: set-result
run: echo "::set-output name=step-result::success"
run: echo "step-result=success" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ runs:
if: steps.cache.outputs.cache-hit != 'true' || inputs.caching != 'true'
run: |
npm ci
echo "::set-output name=cache::'${{ inputs.caching }}'"
echo "cache='${{ inputs.caching }}'" >> $GITHUB_OUTPUT
shell: bash
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function run() {
exec.exec(`aws s3 sync ${distFolder} ${s3Uri} --region ${bucketRegion}`);

const websiteUrl = `http://${bucket}.s3-website-${bucketRegion}.amazonaws.com`;
core.setOutput('website-url', websiteUrl); // ::set-output
core.setOutput('website-url', websiteUrl); // echo "website-url=..." >> $GITHUB_OUTPUT
}

run();
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ runs:
if: steps.cache.outputs.cache-hit != 'true' || inputs.caching != 'true'
run: |
npm ci
echo "::set-output name=cache::'${{ inputs.caching }}'"
echo "cache='${{ inputs.caching }}'" >> $GITHUB_OUTPUT
shell: bash
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function run() {
exec.exec(`aws s3 sync ${distFolder} ${s3Uri} --region ${bucketRegion}`);

const websiteUrl = `http://${bucket}.s3-website-${bucketRegion}.amazonaws.com`;
core.setOutput('website-url', websiteUrl); // ::set-output
core.setOutput('website-url', websiteUrl); // echo "website-url=..." >> $GITHUB_OUTPUT
}

run();

0 comments on commit 8f62fd7

Please sign in to comment.