Skip to content

Commit

Permalink
Update actions versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Nov 17, 2021
1 parent 4d61b31 commit a8db3d4
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
image: glotzerlab/ci:2021.11-ubuntu20.04

steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0
with:
fetch-depth: 0
submodules: true
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Tar source
run: tar -cvzf ${name}-${tag}.tar.gz ${name}-${tag}

- uses: actions/upload-artifact@v2.2.3
- uses: actions/upload-artifact@v2.2.4
with:
name: release
path: |
Expand All @@ -77,12 +77,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v2.0.9
- uses: actions/download-artifact@v2.10.0
name: Download artifacts
with:
name: release

- uses: softprops/action-gh-release@v1
- uses: softprops/action-gh-release@v0.1.14
name: Create release
if: startsWith(github.ref, 'refs/tags/v')
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3.0.19
- uses: actions/stale@v4.0.0
with:
days-before-close: 10
stale-issue-label: stale
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/templates/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
image: glotzerlab/<< container_prefix >>-ubuntu20.04

steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0
with:
fetch-depth: 0
submodules: true
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Tar source
run: tar -cvzf ${name}-${tag}.tar.gz ${name}-${tag}

- uses: actions/upload-artifact@v2.2.3
- uses: actions/upload-artifact@v2.2.4
with:
name: release
path: |
Expand All @@ -64,12 +64,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v2.0.9
- uses: actions/download-artifact@v2.10.0
name: Download artifacts
with:
name: release

- uses: softprops/action-gh-release@v1
- uses: softprops/action-gh-release@v0.1.14
name: Create release
if: startsWith(github.ref, 'refs/tags/v')
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/templates/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3.0.19
- uses: actions/stale@v4.0.0
with:
days-before-close: 10
stale-issue-label: stale
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/templates/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ name: Unit test
run: tar --use-compress-program='zstd -10 -T0' -cvf install.tar install
# Upload the tarball. Retain the file for a limited time in case developers need to download
# and run tests locally for further debugging.
- uses: actions/upload-artifact@v2.2.3
- uses: actions/upload-artifact@v2.2.4
name: 'Upload install'
with:
name: install-${{ join(matrix.config, '_') }}-${{ github.sha }}
path: install.tar
retention-days: 7
<% endset %>
<% set download_install_steps %>
- uses: actions/download-artifact@v2.0.9
- uses: actions/download-artifact@v2.10.0
with:
name: install-${{ join(matrix.config, '_') }}-${{ github.sha }}
- name: Untar install
Expand All @@ -63,7 +63,7 @@ name: Unit test
jobs:
build:
<< job(name='Build', use_gpu_runners=False, configurations=test_configurations) >>
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0
with:
path: code
submodules: true
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:

render_gallery:
<< job(name='Render gallery', use_gpu_runners=True, needs='build', configurations=gallery_configurations) >>
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0
with:
submodules: true
path: code
Expand All @@ -113,7 +113,7 @@ jobs:
- {os: windows-2019, cmake_generator: "Visual Studio 16 2019"}
- {os: windows-2022, cmake_generator: "Visual Studio 17 2022"}
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0
with:
path: code
submodules: true
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

steps:

- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0
with:
path: code
submodules: true
Expand All @@ -75,7 +75,7 @@ jobs:
run: tar --use-compress-program='zstd -10 -T0' -cvf install.tar install
# Upload the tarball. Retain the file for a limited time in case developers need to download
# and run tests locally for further debugging.
- uses: actions/upload-artifact@v2.2.3
- uses: actions/upload-artifact@v2.2.4
name: 'Upload install'
with:
name: install-${{ join(matrix.config, '_') }}-${{ github.sha }}
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Clean workspace
run: rm -rf ./*

- uses: actions/download-artifact@v2.0.9
- uses: actions/download-artifact@v2.10.0
with:
name: install-${{ join(matrix.config, '_') }}-${{ github.sha }}
- name: Untar install
Expand All @@ -136,11 +136,11 @@ jobs:
- name: Clean workspace
run: rm -rf ./*

- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0
with:
submodules: true
path: code
- uses: actions/download-artifact@v2.0.9
- uses: actions/download-artifact@v2.10.0
with:
name: install-${{ join(matrix.config, '_') }}-${{ github.sha }}
- name: Untar install
Expand All @@ -161,7 +161,7 @@ jobs:
- {os: windows-2019, cmake_generator: "Visual Studio 16 2019"}
- {os: windows-2022, cmake_generator: "Visual Studio 17 2022"}
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0
with:
path: code
submodules: true
Expand Down

0 comments on commit a8db3d4

Please sign in to comment.