Skip to content

Commit

Permalink
Fix github workflows
Browse files Browse the repository at this point in the history
- Update version of dependencies checkout & upload-artifact
  • Loading branch information
baylej committed Mar 13, 2023
1 parent 06c9ba5 commit 95e2238
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/buildandtest.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
name: Build and Test

on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Create build dir
run: mkdir build
- name: Configure CMake
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# Build and install zlib
- name: Checkout zlib
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: madler/zlib
path: zlib
Expand All @@ -46,7 +46,7 @@ jobs:

# Build and install libxml2
- name: Checkout libxml2
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: GNOME/libxml2
path: libxml2
Expand All @@ -66,7 +66,7 @@ jobs:
# Build and install libTMX
- name: Checkout libTMX
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: tmx
- name: Build and Install libTMX
Expand All @@ -77,7 +77,7 @@ jobs:

# Upload
- name: Upload artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ env.DIST_PATH }}
Expand All @@ -96,7 +96,7 @@ jobs:
# Build and install emscripten
- name: Checkout emsdk
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: emscripten-core/emsdk
path: emsdk
Expand All @@ -111,7 +111,7 @@ jobs:

# Build and install libxml2
- name: Checkout libxml2
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: GNOME/libxml2
path: libxml2
Expand All @@ -129,7 +129,7 @@ jobs:

# Build and install libTMX
- name: Checkout libTMX
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: tmx
- name: Build and Install libTMX
Expand All @@ -143,7 +143,7 @@ jobs:

# Upload
- name: Upload artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ env.DIST_PATH }}
Expand All @@ -162,7 +162,7 @@ jobs:
# Build and install zlib
- name: Checkout zlib
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: madler/zlib
path: zlib
Expand All @@ -176,7 +176,7 @@ jobs:

# Build and install libxml2
- name: Checkout libxml2
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: GNOME/libxml2
path: libxml2
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
# Build and install libTMX
- name: Checkout libTMX
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: tmx
- name: Build and Install libTMX
Expand All @@ -216,7 +216,7 @@ jobs:

# Upload
- name: Upload artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ env.DIST_PATH }}

0 comments on commit 95e2238

Please sign in to comment.