ci: disable upload step as unnecessary for vulkan branch
This commit is contained in:
parent
3affb12574
commit
528a715c76
|
@ -92,40 +92,40 @@ jobs:
|
||||||
# manifest-path: scripts/flatpak/${{ matrix.app }}.yml
|
# manifest-path: scripts/flatpak/${{ matrix.app }}.yml
|
||||||
# - name: Upload engine (prereleases)
|
# - name: Upload engine (prereleases)
|
||||||
# run: bash scripts/continious_upload.sh ${{ matrix.app }}.flatpak
|
# run: bash scripts/continious_upload.sh ${{ matrix.app }}.flatpak
|
||||||
release:
|
|
||||||
name: "Upload releases"
|
# Completely disable uplodaing, as it does not make any sense for Vulkan branch for now
|
||||||
runs-on: ubuntu-latest
|
# release:
|
||||||
# Disable flatpak build temporarily due to lack of Vulkan SDK in there.
|
# name: "Upload releases"
|
||||||
|
# runs-on: ubuntu-latest
|
||||||
# needs: [build, flatpak]
|
# needs: [build, flatpak]
|
||||||
needs: [build]
|
# if: ${{ github.event_name == 'push' }}
|
||||||
if: ${{ github.event_name == 'push' }}
|
# steps:
|
||||||
steps:
|
# - name: Remove old release
|
||||||
- name: Remove old release
|
# uses: FWGS/delete-tag-and-release@v0.2.1-dev
|
||||||
uses: FWGS/delete-tag-and-release@v0.2.1-dev
|
# with:
|
||||||
with:
|
# tag_name: ${{ github.ref_name == 'master' && 'continuous' || format('continuous-{0}', github.ref_name) }}
|
||||||
tag_name: ${{ github.ref_name == 'master' && 'continuous' || format('continuous-{0}', github.ref_name) }}
|
# delete_release: true
|
||||||
delete_release: true
|
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
# - name: Fetch artifacts
|
||||||
- name: Fetch artifacts
|
# uses: actions/download-artifact@v3.0.1
|
||||||
uses: actions/download-artifact@v3.0.1
|
# with:
|
||||||
with:
|
# path: artifacts/
|
||||||
path: artifacts/
|
# - name: Repackage binaries and allow GitHub to process removed release for few seconds
|
||||||
- name: Repackage binaries and allow GitHub to process removed release for few seconds
|
# run: |
|
||||||
run: |
|
# cd artifacts/
|
||||||
cd artifacts/
|
# for i in artifact-* su.xash.Engine.*; do
|
||||||
for i in artifact-* su.xash.Engine.*; do
|
# mv "$i"/* .
|
||||||
mv "$i"/* .
|
# rm -rf "$i"
|
||||||
rm -rf "$i"
|
# done
|
||||||
done
|
# ls -R .
|
||||||
ls -R .
|
# cd ../
|
||||||
cd ../
|
# sleep 20s
|
||||||
sleep 20s
|
# - name: Upload new release
|
||||||
- name: Upload new release
|
# uses: FWGS/action-gh-release@v0.1.15
|
||||||
uses: FWGS/action-gh-release@v0.1.15
|
# with:
|
||||||
with:
|
# name: Xash3D FWGS Continuous ${{ github.ref_name }} Build
|
||||||
name: Xash3D FWGS Continuous ${{ github.ref_name }} Build
|
# tag_name: ${{ github.ref_name == 'master' && 'continuous' || format('continuous-{0}', github.ref_name) }}
|
||||||
tag_name: ${{ github.ref_name == 'master' && 'continuous' || format('continuous-{0}', github.ref_name) }}
|
# prerelease: true
|
||||||
prerelease: true
|
# token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
# files: artifacts/*
|
||||||
files: artifacts/*
|
# draft: false
|
||||||
draft: false
|
|
||||||
|
|
Loading…
Reference in New Issue