Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryI authored Feb 19, 2025
1 parent e6d957b commit 8029ef4
Showing 1 changed file with 12 additions and 21 deletions.
33 changes: 12 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,16 @@ on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
run_wolfram:
name: Run Wolfram language code
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: steps
run: |
set -eux -o pipefail
chmod +x ./.github/workflows/install_ubuntu.sh
WE_MODE=install bash ./.github/workflows/install_ubuntu.sh
# - name: Debugging with tmate
# uses: mxschmitt/[email protected]
# - name: Build
# run: |
# /opt/Wolfram/WolframEngine/14.1/SystemFiles/Kernel/Binaries/Linux-ARM64/wolframscript -f Scripts/BuildLibrary.wls
# - name: upload
# uses: actions/upload-artifact@v4
# with:
# # A file, directory or wildcard pattern that describes what to upload
# # Required.
# path: LibraryResources/
- name: Checkout
uses: actions/checkout@v4
- name: Run Wolfram script
uses: miRoox/wolfram-action@master
with:
file: ./Scripts/Build.wls
env:
WOLFRAM_ID: ${{ secrets.WolframID }}
WOLFRAM_PASS: ${{ secrets.WolframPW }}

0 comments on commit 8029ef4

Please sign in to comment.