diff options
author | Hop311 <hop3114@gmail.com> | 2023-05-16 23:49:52 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-05-17 13:47:02 +0200 |
commit | 578eb8c332810656842f72e0bb94bb0d4dcb9f5e (patch) | |
tree | 64dd37032c36da8e48d5d519ac840e11cc64dc58 /.github | |
parent | af6a96ed26bca3eaa28c6dca635918061fab7c80 (diff) |
Changed from OpenVic2 to OpenVic
Diffstat (limited to '.github')
-rw-r--r-- | .github/actions/openvic-env/action.yml (renamed from .github/actions/openvic2-env/action.yml) | 10 | ||||
-rw-r--r-- | .github/workflows/builds.yml | 22 |
2 files changed, 16 insertions, 16 deletions
diff --git a/.github/actions/openvic2-env/action.yml b/.github/actions/openvic-env/action.yml index 8fea1b3..acb428f 100644 --- a/.github/actions/openvic2-env/action.yml +++ b/.github/actions/openvic-env/action.yml @@ -1,5 +1,5 @@ -name: Setup OpenVic2 Environment -description: Setup OpenVic2 Environment +name: Setup OpenVic Environment +description: Setup OpenVic Environment runs: using: "composite" steps: @@ -7,9 +7,9 @@ runs: uses: actions/github-script@v6 with: script: | - const commit_name = 'OPENVIC2_COMMIT'; - const tag_name = 'OPENVIC2_TAG'; - const release_name = 'OPENVIC2_RELEASE'; + const commit_name = 'OPENVIC_COMMIT'; + const tag_name = 'OPENVIC_TAG'; + const release_name = 'OPENVIC_RELEASE'; var commit_sha = process.env["GITHUB_SHA"]; if(context.eventName === 'pull_request') { commit_sha = context.payload.pull_request.head.sha; diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 664f8e4..b782ca4 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -61,7 +61,7 @@ jobs: submodules: recursive - name: Setup Environment - uses: ./.github/actions/openvic2-env + uses: ./.github/actions/openvic-env - name: Set up Python uses: actions/setup-python@v4 @@ -97,28 +97,28 @@ jobs: - name: Delete compilation files if: ${{ matrix.platform == 'windows' }} run: | - Remove-Item game/bin/openvic2/* -Include *.exp,*.lib,*.pdb -Force + Remove-Item game/bin/openvic/* -Include *.exp,*.lib,*.pdb -Force - name: Upload extension artifact uses: actions/upload-artifact@v3 with: name: ${{ github.event.repository.name }}-extension path: | - ${{ github.workspace }}/game/bin/openvic2/* + ${{ github.workspace }}/game/bin/openvic/* - name: Archive Release uses: thedoctor0/zip-release@0.7.1 with: type: 'zip' - filename: 'libopenvic2.${{ matrix.platform }}.${{ matrix.arch }}.zip' - path: '${{ github.workspace }}/game/bin/openvic2/' + filename: 'libopenvic.${{ matrix.platform }}.${{ matrix.arch }}.zip' + path: '${{ github.workspace }}/game/bin/openvic/' if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - name: Create and upload asset uses: ncipollo/release-action@v1 with: allowUpdates: true - artifacts: "libopenvic2.${{ matrix.platform }}.${{ matrix.arch }}.zip" + artifacts: "libopenvic.${{ matrix.platform }}.${{ matrix.arch }}.zip" omitNameDuringUpdate: true omitBodyDuringUpdate: true token: ${{ secrets.GITHUB_TOKEN }} @@ -135,13 +135,13 @@ jobs: uses: actions/checkout@v3.3.0 - name: Setup Environment - uses: ./.github/actions/openvic2-env + uses: ./.github/actions/openvic-env - name: Download artifact uses: actions/download-artifact@v3 with: name: ${{ github.event.repository.name }}-extension - path: game/bin/openvic2 + path: game/bin/openvic - name: Export pack file id: export_game @@ -154,7 +154,7 @@ jobs: export_debug: true relative_export_path: ./game/export - - run: mv "./game/export/LinuxX11 x86_64/OpenVic2.x86_64.pck" ./game/export/${{ github.event.repository.name }}.pck + - run: mv "./game/export/LinuxX11 x86_64/OpenVic.x86_64.pck" ./game/export/${{ github.event.repository.name }}.pck - name: Upload pack artifact uses: actions/upload-artifact@v3 @@ -176,13 +176,13 @@ jobs: uses: actions/checkout@v3.3.0 - name: Setup Environment - uses: ./.github/actions/openvic2-env + uses: ./.github/actions/openvic-env - name: Download artifact uses: actions/download-artifact@v3 with: name: ${{ github.event.repository.name }}-extension - path: game/bin/openvic2 + path: game/bin/openvic - name: Install WINE id: wine_install |