Skip to content

Commit

Permalink
Fix mtime of s3 sync and environments
Browse files Browse the repository at this point in the history
  • Loading branch information
amzn-changml authored Jul 19, 2022
2 parents 8c5c2fc + 8eaab81 commit f675d06
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,23 @@ on:
workflow_dispatch:

jobs:
build:
deploy:
name: Deploy
runs-on: ubuntu-latest
environment: ${{ github.ref_name }} # Check environment against branch

steps:
- name: Install dependancies
run: sudo apt-get install -y git-restore-mtime

# Checks-out the repository under $GITHUB_WORKSPACE, so the job can access it
- uses: actions/checkout@v3
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Restore mtime
run: git restore-mtime

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down
2 changes: 1 addition & 1 deletion src/SPDX-Licenses.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,4 +311,4 @@
"License": "BSD",
"LicenseFile": "zstd/LICENSE"
}
]
]

0 comments on commit f675d06

Please sign in to comment.