Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Upgrade GitHub Actions (#911)
  • Loading branch information
cclauss committed Jan 29, 2023
1 parent 79ea074 commit d2d4415
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build.yml
Expand Up @@ -19,11 +19,11 @@ jobs:
macos:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/PawPawBuilds
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
shell: bash
run: |
./macosx/generate-pkg.sh $(pwd)/destdir/usr/local ${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: jack2-macOS-intel-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
path: macosx/jack2-osx-*.pkg
Expand All @@ -62,11 +62,11 @@ jobs:
macos_universal:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/PawPawBuilds
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
shell: bash
run: |
./macosx/generate-pkg.sh $(pwd)/destdir/usr/local ${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: jack2-macOS-universal-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
path: macosx/jack2-osx-*.pkg
Expand All @@ -109,11 +109,11 @@ jobs:
win32:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/PawPawBuilds
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
echo "#define VERSION \"${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}\"" > version.iss
xvfb-run wine ${WINEPREFIX}/drive_c/InnoSeup/ISCC.exe win32-mini.iss
popd
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: jack2-win32-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
path: windows/inno/jack2-*.exe
Expand All @@ -190,11 +190,11 @@ jobs:
win64:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/PawPawBuilds
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
echo "#define VERSION \"${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}\"" > version.iss
xvfb-run wine64 ${WINEPREFIX}/drive_c/InnoSeup/ISCC.exe win64-mini.iss
popd
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: jack2-win64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
path: windows/inno/jack2-*.exe
Expand All @@ -278,11 +278,11 @@ jobs:
#ubuntu_20_04:
#runs-on: ubuntu-20.04
#steps:
#- uses: actions/checkout@v2
#- uses: actions/checkout@v3
#with:
#submodules: recursive
#- name: Set up cache
#uses: actions/cache@v2
#uses: actions/cache@v3
#with:
#path: |
#~/debs
Expand Down Expand Up @@ -315,7 +315,7 @@ jobs:
#sed -i "s|--prefix=/usr --classic|--prefix=/usr --classic|" debian/rules
#dch -M -b -v "$(cat wscript | awk 'sub("^VERSION = ","")' | tr -d "'")~$(date +"%Y%m%d")git${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}" -D focal "automated build"
#debuild -rfakeroot --no-lintian || true
#- uses: actions/upload-artifact@v2
#- uses: actions/upload-artifact@v3
#with:
#name: jack2-ubuntu-20.04-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
#path: ~/work/jack2/*.deb
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Expand Up @@ -13,7 +13,7 @@ jobs:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
Expand Down

0 comments on commit d2d4415

Please sign in to comment.