Skip to content

Commit

Permalink
Update GitHub Actions to use version 4 of checkout and upload/downloa…
Browse files Browse the repository at this point in the history
…d artifacts
  • Loading branch information
unabris committed Nov 21, 2024
1 parent 2c4e719 commit c18f230
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
build_test_devportal:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.3
bundler-cache: true
- run: bundle exec jekyll build
- run: bundle exec rake test_ci
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: _devportal
retention-days: 7
Expand All @@ -30,7 +30,7 @@ jobs:
build_test_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: ePages-de/epages-docs
ref: master
Expand All @@ -40,7 +40,7 @@ jobs:
bundler-cache: true
- run: bundle exec jekyll build
- run: bundle exec rake test_ci
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: _docs
retention-days: 7
Expand All @@ -54,15 +54,15 @@ jobs:
- build_test_devportal
- build_test_docs
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: _devportal
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: _docs
path: ./_docs
- run: rsync -abviuzP _docs/ _site/
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: _site
retention-days: 7
Expand All @@ -76,7 +76,7 @@ jobs:
needs:
- combine_projets
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: _site
- run: curl -sL firebase.tools | bash
Expand All @@ -91,7 +91,7 @@ jobs:
needs:
- combine_projets
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: _site
- run: curl -sL firebase.tools | bash
Expand Down

0 comments on commit c18f230

Please sign in to comment.