mirror of
https://github.com/csd4ni3l/browser.git
synced 2025-11-05 05:57:57 +01:00
Fix Github Action build
This commit is contained in:
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -43,17 +43,17 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p zip_output
|
mkdir -p zip_output
|
||||||
if [ "${{ runner.os }}" = "Windows" ]; then
|
if [ "${{ runner.os }}" = "Windows" ]; then
|
||||||
powershell.exe -Command "Compress-Archive -Path 'build/run.dist/*' -DestinationPath 'zip_output csd4ni3lBrowser-${{ runner.os }}.zip'"
|
powershell.exe -Command "Compress-Archive -Path 'build/run.dist/*' -DestinationPath 'zip_output/csd4ni3lBrowser-${{ runner.os }}.zip'"
|
||||||
else
|
else
|
||||||
cd build/run.dist
|
cd build/run.dist
|
||||||
zip -r "../../zip_output csd4ni3lBrowser-${{ runner.os }}.zip" .
|
zip -r "../../zip_output/csd4ni3lBrowser-${{ runner.os }}.zip" .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Upload Zipped Build Artifact
|
- name: Upload Zipped Build Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: csd4ni3lBrowser-${{ runner.os }}.zip
|
name: csd4ni3lBrowser-${{ runner.os }}.zip
|
||||||
path: zip_output csd4ni3lBrowser-${{ runner.os }}.zip
|
path: zip_output/csd4ni3lBrowser-${{ runner.os }}.zip
|
||||||
release:
|
release:
|
||||||
name: Create GitHub Release
|
name: Create GitHub Release
|
||||||
needs: build
|
needs: build
|
||||||
@@ -87,6 +87,6 @@ jobs:
|
|||||||
git push origin latest
|
git push origin latest
|
||||||
|
|
||||||
- name: Create the new release
|
- name: Create the new release
|
||||||
run: gh release create latest downloads/** csd4ni3lBrowser-*.zip --title "Latest Build" --notes "Most recent multi-platform builds of csd4ni3lBrowser"
|
run: gh release create latest downloads/**/csd4ni3lBrowser-*.zip --title "Latest Build" --notes "Most recent multi-platform builds of csd4ni3lBrowser"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user