Skip to content

Commit

Permalink
Upgrade actions
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul committed Feb 23, 2024
1 parent 751a435 commit d6d75b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,10 @@ jobs:
- name: Install Git
run: sudo pacman -Sy --needed --noconfirm git

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Add Git repo as a safe directory
run: git config --global --add safe.directory `pwd`

- name: Install system dependencies
run: |
sudo pacman -Syu --noconfirm
Expand All @@ -29,7 +26,7 @@ jobs:
source /etc/profile
make -j$(nproc) ebook
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: e-book PDF (Arch Linux)
path: controls-engineering-in-frc-ebook.pdf
Expand All @@ -38,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -53,7 +50,7 @@ jobs:
- name: Generate PDF
run: make -j$(nproc) ebook

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: e-book PDF (Ubuntu)
path: controls-engineering-in-frc-ebook.pdf
Expand All @@ -62,7 +59,7 @@ jobs:
runs-on: macos-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -74,7 +71,7 @@ jobs:
eval `/usr/libexec/path_helper`
make -j$(nproc) ebook
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: e-book PDF (macOS)
path: controls-engineering-in-frc-ebook.pdf
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install system dependencies
Expand Down

0 comments on commit d6d75b6

Please sign in to comment.