Skip to content

Commit

Permalink
chore(ci): rename build path
Browse files Browse the repository at this point in the history
  • Loading branch information
SARDONYX-sard committed Nov 16, 2023
1 parent 0c223f2 commit 4c1c877
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/lint-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,30 +73,30 @@ jobs:
run: npm run build

- name: Make outputs dir
run: mkdir -p ./gui
run: mkdir -p ./build
- name: Compress outputs(Windows)
shell: pwsh
if: runner.os == 'Windows'
run: |
$compress = @{
LiteralPath= "./target/release/g_dar2oar.exe", "./target/release/dar2oar.exe"
CompressionLevel = "Fastest"
DestinationPath = "./gui/g_dar2oar-${{ runner.os}}.zip"
DestinationPath = "./build/g_dar2oar-${{ runner.os}}.zip"
}
Compress-Archive @compress
- name: Compress outputs(MacOS)
shell: bash
if: runner.os == 'macOS'
run: tar -czvf ./gui/g_dar2oar-${{ runner.os}}.tar.gz ./target/release/g_dar2oar ./target/release/dar2oar
run: tar -czvf ./build/g_dar2oar-${{ runner.os}}.tar.gz ./target/release/g_dar2oar ./target/release/dar2oar
- name: Compress outputs(Unix)
shell: bash
if: runner.os == 'Linux'
# NOTE: Linux was excluded because the location of the GUI could not be identified.
run: tar -czvf ./gui/g_dar2oar-${{ runner.os}}.tar.gz ./target/release/dar2oar
run: tar -czvf ./build/g_dar2oar-${{ runner.os}}.tar.gz ./target/release/dar2oar

- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.3
with:
name: DAR to OAR Converter-${{runner.os}}
path: |
./gui/
./build/

0 comments on commit 4c1c877

Please sign in to comment.