Browse Source

reverse data/exe order for artifacts storage (#5793)

pull/5238/merge
qndel 3 years ago committed by GitHub
parent
commit
12daaf4b37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      .github/workflows/Windows_MinGW_x64.yml

16
.github/workflows/Windows_MinGW_x64.yml

@ -50,28 +50,28 @@ jobs:
shell: bash
run: mkdir artifacts_dir && unzip build/devilutionx.zip -d artifacts_dir && mkdir artifacts_dir/exe_dir && mv artifacts_dir/devilutionx/devilutionx.exe artifacts_dir/exe_dir && zip -m artifacts_dir/exe_dir/build.zip artifacts_dir/exe_dir/devilutionx.exe
- name: Pushes exe to another repository
- name: Pushes DLLs and devilutionx.mpq to another repository
if: ${{ !env.ACT && github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'diasurgical/devilutionX' }}
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: artifacts_dir/exe_dir
source-directory: artifacts_dir/devilutionx/
destination-github-username: 'artifacts-storage'
destination-repository-name: 'devilutionx-artifacts'
target-directory: ${{ github.sha }}
commit-message: "[EXE] ${{ github.event.head_commit.message }}"
target-directory: data
commit-message: "[DATA] ${{ github.event.head_commit.message }}"
target-branch: master
- name: Pushes DLLs and devilutionx.mpq to another repository
- name: Pushes exe to another repository
if: ${{ !env.ACT && github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'diasurgical/devilutionX' }}
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: artifacts_dir/devilutionx/
source-directory: artifacts_dir/exe_dir
destination-github-username: 'artifacts-storage'
destination-repository-name: 'devilutionx-artifacts'
target-directory: data
commit-message: "[DATA] ${{ github.event.head_commit.message }}"
target-directory: ${{ github.sha }}
commit-message: "[EXE] ${{ github.event.head_commit.message }}"
target-branch: master

Loading…
Cancel
Save