Skip to content

Commit

Permalink
Merge pull request #144 from dmalec/ISSUE-143-CICD-ACTION-VERSION
Browse files Browse the repository at this point in the history
ISSUE-143: Update CI/CD actions from v2 to v3.
  • Loading branch information
jrincayc committed Jan 8, 2023
2 parents f6be508 + 407e50e commit 07e7e89
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
timeout-minutes: 60
steps:
- name: Cache wxWidgets
uses: actions/cache@v2
uses: actions/cache@v3
id: wxwidgets-cache
with:
path: ${{ runner.temp }}/wxWidgets-${{ env.WX_WIDGETS_VERSION }}
Expand All @@ -52,7 +52,7 @@ jobs:
timeout-minutes: 60
steps:
- name: Cache wxWidgets
uses: actions/cache@v2
uses: actions/cache@v3
id: wxwidgets-cache
with:
path: ${{ runner.temp }}\wxWidgets-${{ env.WX_WIDGETS_VERSION }}
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
texlive
zip
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build Logo
Expand All @@ -124,19 +124,19 @@ jobs:
make -j2 dist
make -j2 dist-zip
- name: Archive ucblogo.tar.gz
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ucblogo.tar.gz
path: >
*.tar.gz
- name: Archive ucblogo.zip
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ucblogo.zip
path: >
*.zip
- name: Archive ucblogo.pdf
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ucblogo.pdf
path: docs/ucblogo.pdf
Expand All @@ -154,17 +154,17 @@ jobs:
automake
wxwidgets
- name: wxWidgets Cache
uses: actions/cache@v2
uses: actions/cache@v3
id: wxwidgets-cache
with:
path: ${{ runner.temp }}/wxWidgets-${{ env.WX_WIDGETS_VERSION }}
key: ${{ runner.os }}-wxWidgets-${{ env.WX_WIDGETS_VERSION }}
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Download PDF manual
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: ucblogo.pdf
path: docs
Expand All @@ -176,7 +176,7 @@ jobs:
./configure --enable-gitid --with-wx-config=$WX_CONFIG_PATH
make -j2 ucblogo.dmg
- name: Archive ucblogo.dmg
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ucblogo.dmg
path: ucblogo.dmg
Expand All @@ -187,7 +187,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Cache inno
uses: actions/cache@v2
uses: actions/cache@v3
id: inno-cache
with:
path: ${{ runner.temp }}\innosetup-${{ env.INNO_VERSION }}
Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:
mingw-w64-i686-toolchain
unzip
- name: Inno Cache
uses: actions/cache@v2
uses: actions/cache@v3
id: inno-cache
with:
path: ${{ runner.temp }}\innosetup-${{ env.INNO_VERSION }}
Expand All @@ -232,13 +232,13 @@ jobs:
run: |
./innosetup-${{ env.INNO_VERSION }}.exe /SP- /VERYSILENT /ALLUSERS /SUPPRESSMSGBOXES
- name: wxWidgets Cache
uses: actions/cache@v2
uses: actions/cache@v3
id: wxwidgets-cache
with:
path: ${{ runner.temp }}\wxWidgets-${{ env.WX_WIDGETS_VERSION }}
key: ${{ runner.os }}-wxWidgets-${{ env.WX_WIDGETS_VERSION }}
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Prepare Repository
Expand All @@ -248,7 +248,7 @@ jobs:
mingw32-make -f makefile.msys git.c
rm libloc.c
- name: Download PDF manual
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: ucblogo.pdf
path: docs
Expand All @@ -268,7 +268,7 @@ jobs:
run: |
iscc ucblogo.iss
- name: Archive installer
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ucblogosetup.exe
path: inno/ucblogo62setup.exe
path: inno/ucblogo*setup.exe
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Update Package Info
run: |
sudo apt-get update
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
awk "/\.\.\./ && ! /Ok$/{exit 1}" logo-unit-test-results.txt
- name: Archive Test Results
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Logo Unit Test Results
path: logo-unit-test-results.txt

0 comments on commit 07e7e89

Please sign in to comment.