Skip to content

Commit

Permalink
ok just revert all of configs changes i cant be bothered
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool authored Feb 14, 2024
1 parent 066fa65 commit 5df3765
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions combine/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,30 @@ runs:
using: composite
steps:
- name: Download CLI
uses: robinraju/release-downloader@v1.9
uses: robinraju/release-downloader@v1.8
with:
repository: geode-sdk/cli
latest: ${{ inputs.cli == 'latest' }}
tag: ${{ inputs.cli != 'latest' && inputs.cli || '' }}
fileName: "*-linux.zip"
tarBall: false
zipBall: false
out-file-path: "cli"
fileName: "*-linux.zip"
extract: true
out-file-path: ${{ github.action_path }}

- name: Setup CLI
- run: echo "${{ github.action_path }}" >> $GITHUB_PATH
shell: bash
run: |
7z x "cli/*-linux.zip" -ocli
echo "${{ github.workspace }}/cli" >> $GITHUB_PATH
chmod +x "cli/geode"

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v3
with:
path: artifacts

path: "${{ github.action_path }}/artifacts"
- name: Combine them
shell: bash
id: merge
run: |
cd "${{ github.action_path }}"
chmod +x ./geode
mkdir out
MODS=$(find . -name *.geode -type f -printf "%f\n" | sort -u)
for mod in $MODS; do
Expand All @@ -69,14 +68,14 @@ runs:
fi
cp $FIRST out
done
echo "output=${{ github.workspace }}/out" >> $GITHUB_OUTPUT
echo "output=${{ github.action_path }}/out" >> $GITHUB_OUTPUT
- uses: geekyeggo/delete-artifact@v2
if: ${{ inputs.delete-artifacts }}
with:
name: geode-build-win
failOnError: false

- uses: geekyeggo/delete-artifact@v2
if: ${{ inputs.delete-artifacts }}
with:
Expand Down

0 comments on commit 5df3765

Please sign in to comment.