mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-12 19:06:09 -10:00
Revert "Refactor CI scripts to make release builds more robust and flexible"
This commit is contained in:
1 parent
48597e7751
commit
052d3d32c7
12 files changed
-894
No files matched your search
@@ -210,28 +210,3 @@ jobs:
|
||||
DATACORDER_USER: ${{ secrets.DATACORDER_USER }}
|
||||
DATACORDER_SSHPASS: ${{ secrets.DATACORDER_PASSWORD }}
|
||||
run: $GITHUB_WORKSPACE/ci/linux/upload_dist_package.sh nightly
|
||||
|
||||
post_builds:
|
||||
# Post nightlies if at least one job was successful
|
||||
if: ${{ needs.linux_zip == "success" || needs.windows_zip == "success" }}
|
||||
name: Post builds on Nebula and the forums
|
||||
needs: [linux_zip, windows_zip]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
name: Checkout
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Install Python dependencies
|
||||
run: pip install -r ci/post/requirements.txt
|
||||
- name: Post builds
|
||||
env:
|
||||
INDIEGAMES_USER: ${{ secrets.INDIEGAMES_USER }}
|
||||
INDIEGAMES_SSHPASS: ${{ secrets.INDIEGAMES_PASSWORD }}
|
||||
NEBULA_USER: ${{ secrets.NEBULA_USER }}
|
||||
NEBULA_PASSWORD: ${{ secrets.NEBULA_PASSWORD }}
|
||||
HLP_API: ${{ secrets.HLP_API }}
|
||||
HLP_KEY: ${{ secrets.HLP_KEY }}
|
||||
LINUX_RESULT: ${{ needs.linux_zip.result }}
|
||||
WINDOWS_RESULT: ${{ needs.windows_zip.result }}
|
||||
run: python ci/post/main.py nightly
|
||||
@@ -263,26 +263,3 @@ jobs:
|
||||
asset_path: ${{ steps.generate_package.outputs.debug_path }}
|
||||
asset_name: ${{ steps.generate_package.outputs.debug_name }}
|
||||
asset_content_type: ${{ steps.generate_package.outputs.debug_mime }}
|
||||
|
||||
post_builds:
|
||||
name: Post builds on Nebula and the forums
|
||||
needs: [linux_zip, windows_zip]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
name: Checkout
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Install Python dependencies
|
||||
run: pip install -r ci/post/requirements.txt
|
||||
- name: Post builds
|
||||
env:
|
||||
INDIEGAMES_USER: ${{ secrets.INDIEGAMES_USER }}
|
||||
INDIEGAMES_SSHPASS: ${{ secrets.INDIEGAMES_PASSWORD }}
|
||||
NEBULA_USER: ${{ secrets.NEBULA_USER }}
|
||||
NEBULA_PASSWORD: ${{ secrets.NEBULA_PASSWORD }}
|
||||
HLP_API: ${{ secrets.HLP_API }}
|
||||
HLP_KEY: ${{ secrets.HLP_KEY }}
|
||||
LINUX_RESULT: ${{ needs.linux_zip.result }}
|
||||
WINDOWS_RESULT: ${{ needs.windows_zip.result }}
|
||||
run: python ci/post/main.py release
|
||||
@@ -1,21 +0,0 @@
|
||||
name: Push a new nightly tag
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 6 * * *'
|
||||
|
||||
jobs:
|
||||
tag:
|
||||
if: github.repository == 'scp-fs2open/fs2open.github.com'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Prepare environment
|
||||
run: |
|
||||
git config --global user.email '[email protected]'
|
||||
git config --global user.name SirKnightly
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
- name: Create tag
|
||||
run: git tag "nightly_$(date '+%Y%m%d')_$(git rev-parse --short HEAD)"
|
||||
- name: Push tag
|
||||
run: git push --tags
|
||||
Reference in new issue
Block a user