Skip to content

Commit

Permalink
Merge pull request #439 from microsoft/actions-artifact-update
Browse files Browse the repository at this point in the history
Actions: use newer Action
  • Loading branch information
jamesiri authored Feb 5, 2025
2 parents ae12268 + 9512489 commit b34a2b9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
# actions/checkout@v2 on 11/4/2021
- uses: actions/checkout@230611dbd0eb52da1e1f4f7bc8bb0c3a339fc8b7
- uses: actions/checkout@v3
name: "Check it out"
- name: "Startup"
run: pwd
- name: Package registry login
if: github.event_name != 'pull_request'
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
Expand All @@ -44,8 +43,7 @@ jobs:
- name: "Compress the static site"
run: zip -r ../site.zip .
working-directory: /home/runner/work/opensource.microsoft.com/opensource.microsoft.com/_site
# actions/upload-artifact/v2 on 11/4/2021
- uses: actions/upload-artifact@6fc84b101e3160d153b2b53314fa13f02a36ae96
- uses: actions/upload-artifact@v3
name: "Store the site as an artifact"
with:
name: website
Expand Down Expand Up @@ -93,4 +91,4 @@ jobs:
AZCOPY_AUTO_LOGIN_TYPE: AZCLI
run: |
./azcopy sync /home/runner/work/opensource.microsoft.com/opensource.microsoft.com/_site "https://osssite.blob.core.windows.net/\$web/$SASTOKEN" --recursive=true

0 comments on commit b34a2b9

Please sign in to comment.