Skip to content

Commit

Permalink
CI: actions: use main branch
Browse files Browse the repository at this point in the history
Surpress warnings like:
```
Node.js 16 actions are deprecated. Please update the
following actions to use Node.js 20: actions/checkout@v3,
actions/upload-artifact@v3. For more information see:
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
```
  • Loading branch information
MartinPulec committed Feb 13, 2024
1 parent d04993e commit b9042d5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, we do not need to create own token.
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@main
if: github.repository == 'CESNET/GPUJPEG' && github.ref == 'refs/heads/master'
with:
persist-credentials: true
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@main
- name: Install
run: |
sudo apt update
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Upload Archive
if: github.repository != 'CESNET/GPUJPEG' || github.ref != 'refs/heads/master'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@main
with:
name: GPUJPEG CI Linux build
path: GPUJPEG
Expand All @@ -73,7 +73,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@main
- name: install CUDA
run: |
choco install cuda -y --no-progress
Expand Down Expand Up @@ -109,14 +109,14 @@ jobs:
- name: Upload Archive
if: github.repository != 'CESNET/GPUJPEG' || github.ref != 'refs/heads/master'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@main
with:
name: GPUJPEG CI Windows build
path: GPUJPEG

- name: Upload Installer
if: github.repository != 'CESNET/GPUJPEG' || github.ref != 'refs/heads/master'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@main
with:
name: GPUJPEG CI Windows installer
path: gpujpeg-*-win64.exe
Expand Down

0 comments on commit b9042d5

Please sign in to comment.