Skip to content

Commit bbb2ab2

Browse files
committed
Simplify: Submit step back in build job, same container
Removed separate submit job and TuringMachine-dir artifact upload. The script works now, no need for separate job/container.
1 parent 9cd18ad commit bbb2ab2

4 files changed

Lines changed: 62 additions & 1440 deletions

File tree

.github/workflows/build_paclet.yml

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636

3737
env:
3838
WOLFRAMSCRIPT_ENTITLEMENTID: ${{ secrets.WOLFRAMSCRIPT_ENTITLEMENTID }}
39+
RESOURCE_PUBLISHER_TOKEN: ${{ secrets.RESOURCE_PUBLISHER_TOKEN }}
3940
SDKROOT: /nonexistent
4041

4142
steps:
@@ -129,14 +130,6 @@ jobs:
129130
path: ${{ steps.find_paclet.outputs.paclet_file }}
130131
if-no-files-found: error
131132

132-
- name: Upload Paclet Directory
133-
if: ${{ !env.ACT && inputs.submit }}
134-
uses: actions/upload-artifact@v4
135-
with:
136-
name: TuringMachine-dir
137-
path: ./TuringMachine
138-
if-no-files-found: error
139-
140133
- name: Read Paclet Version
141134
id: read_version
142135
run: |
@@ -153,35 +146,6 @@ jobs:
153146
prerelease: true
154147
make_latest: true
155148

156-
submit:
157-
name: Submit to Repository
158-
needs: build
159-
if: ${{ inputs.submit }}
160-
runs-on: ubuntu-latest
161-
container:
162-
image: wolframresearch/wolframengine:latest
163-
options: --user root
164-
165-
env:
166-
WOLFRAMSCRIPT_ENTITLEMENTID: ${{ secrets.WOLFRAMSCRIPT_ENTITLEMENTID }}
167-
RESOURCE_PUBLISHER_TOKEN: ${{ secrets.RESOURCE_PUBLISHER_TOKEN }}
168-
WOLFRAM_SYSTEM_ID: Linux-x86-64
169-
WOLFRAMINIT: -lmverbose
170-
171-
steps:
172-
- name: Checkout Code
173-
if: ${{ !env.ACT }}
174-
uses: actions/checkout@v4
175-
176-
- name: Download Paclet Directory
177-
if: ${{ !env.ACT }}
178-
uses: actions/download-artifact@v4
179-
with:
180-
name: TuringMachine-dir
181-
path: ./TuringMachine
182-
183-
- name: List Contents
184-
run: ls -la ./TuringMachine/
185-
186-
- name: Submit Paclet
149+
- name: Submit to Repository
150+
if: ${{ inputs.submit }}
187151
run: wolframscript -f ci_submit.wl

TuringMachine/PacletInfo.wl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PacletObject[
55
"Creator" -> "Nik Murzin and Willem Nielsen",
66
"License" -> "MIT",
77
"PublisherID" -> "WolframInstitute",
8-
"Version" -> "1.0.5",
8+
"Version" -> "1.0.6",
99
"WolframVersion" -> "14.3+",
1010
"PrimaryContext" -> "WolframInstitute`TuringMachine`",
1111
"Extensions" -> {

0 commit comments

Comments
 (0)