Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
checkout scripts before using (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
dallmeyer authored Sep 27, 2024
1 parent d0dbcfc commit 4bf05ac
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/create-mod-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,13 @@ jobs:
with:
ref: ${{ needs.create_release.outputs.new_tag }}

- name: "Checkout Workflow Scripts"
uses: actions/checkout@v4
with:
repository: "open-goal/mod-bundling-tools"
ref: ${{ github.event.inputs.ref }}
path: "__actions/mod-bundling-tools"

- name: Prepare Artifact Folder
run: mkdir -p ./ci-artifacts

Expand All @@ -149,7 +156,7 @@ jobs:
- name: Prepare Windows Build Assets
run: |
mkdir -p ./ci-artifacts/windows
./scripts/create-mod-release/releases/extract_build_windows.sh ./ci-artifacts/windows ./ci-artifacts/windows-binary ./
./__actions/mod-bundling-tools/scripts/create-mod-release/releases/extract_build_windows.sh ./ci-artifacts/windows ./ci-artifacts/windows-binary ./
TAG_VAL=${{ needs.create_release.outputs.new_tag }}
7z a -tzip ${{ inputs.outputDir }}/dist/windows-${TAG_VAL}.zip ./ci-artifacts/windows/*
Expand Down Expand Up @@ -181,6 +188,13 @@ jobs:
with:
ref: ${{ needs.create_release.outputs.new_tag }}

- name: "Checkout Workflow Scripts"
uses: actions/checkout@v4
with:
repository: "open-goal/mod-bundling-tools"
ref: ${{ github.event.inputs.ref }}
path: "__actions/mod-bundling-tools"

- name: Prepare Artifact Folder
run: mkdir -p ./ci-artifacts

Expand All @@ -195,7 +209,7 @@ jobs:
- name: Prepare Linux Build Assets
run: |
mkdir -p ./ci-artifacts/linux
./scripts/create-mod-release/releases/extract_build_unix.sh ./ci-artifacts/linux ./ci-artifacts/linux-binary ./
./__actions/mod-bundling-tools/scripts/create-mod-release/releases/extract_build_unix.sh ./ci-artifacts/linux ./ci-artifacts/linux-binary ./
TAG_VAL=${{ needs.create_release.outputs.new_tag }}
7z a -tzip ${{ inputs.outputDir }}/dist/linux-${TAG_VAL}.zip ./ci-artifacts/linux/*
Expand Down Expand Up @@ -227,6 +241,13 @@ jobs:
with:
ref: ${{ needs.create_release.outputs.new_tag }}

- name: "Checkout Workflow Scripts"
uses: actions/checkout@v4
with:
repository: "open-goal/mod-bundling-tools"
ref: ${{ github.event.inputs.ref }}
path: "__actions/mod-bundling-tools"

- name: Prepare Artifact Folder
run: mkdir -p ./ci-artifacts

Expand All @@ -241,7 +262,7 @@ jobs:
- name: Prepare MacOS Build Assets
run: |
mkdir -p ./ci-artifacts/macos-intel
./scripts/create-mod-release/releases/extract_build_unix.sh ./ci-artifacts/macos-intel ./ci-artifacts/macos-intel-binary ./
./__actions/mod-bundling-tools/scripts/create-mod-release/releases/extract_build_unix.sh ./ci-artifacts/macos-intel ./ci-artifacts/macos-intel-binary ./
TAG_VAL=${{ needs.create_release.outputs.new_tag }}
7z a -tzip ${{ inputs.outputDir }}/dist/macos-intel-${TAG_VAL}.zip ./ci-artifacts/macos-intel/*
Expand Down

0 comments on commit 4bf05ac

Please sign in to comment.