Skip to content

update workflows because Node.js 16 actions are deprecated #180

update workflows because Node.js 16 actions are deprecated

update workflows because Node.js 16 actions are deprecated #180

Workflow file for this run

name: Commit
on: [push]
jobs:
Windows-Commit:
runs-on: windows-latest
steps:
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: cd ${{ github.workspace }}
- uses: ./.github/run-tests
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: build-engine-randomizer.exe
path: dist/build-engine-randomizer.exe
Linux-Commit:
runs-on: ubuntu-latest
defaults:
run:
# Must be explicit for proper pipefail support
shell: bash
steps:
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: cd ${{ github.workspace }}
- run: sudo apt-get update -y
- run: sudo apt-get install -y python3-tk idle3
- uses: ./.github/run-tests
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: build-engine-randomizer-linux
path: dist/build-engine-randomizer
MacOS-Commit:
runs-on: macos-latest
defaults:
run:
# Must be explicit for proper pipefail support
shell: bash
steps:
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: cd ${{ github.workspace }}
- run: brew install python-tk
- uses: ./.github/run-tests
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: build-engine-randomizer-macos
path: dist/build-engine-randomizer