aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2024-01-30 19:18:20 +0100
committer GitHub <noreply@github.com>2024-01-30 19:18:20 +0100
commit771c55fcdc949e3bd5a74e3e2601b29096948a3c (patch)
tree04f68a43cb62de16e957db5825b3207ded0f42c7
parent41fdfe9b26895cb7bd8a0c6bbca5c21a82f61817 (diff)
parent5eb3edc6f2fd689dfc878680ac0ea825e1147e9e (diff)
Merge pull request #143 from OpenVicProject/update/workflow-actions
Update build workflow actions
-rw-r--r--.github/workflows/builds.yml28
m---------deps/lexy-vdf0
m---------deps/openvic-dataloader0
3 files changed, 20 insertions, 8 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml
index 38b7f7e..2b90752 100644
--- a/.github/workflows/builds.yml
+++ b/.github/workflows/builds.yml
@@ -59,7 +59,7 @@ jobs:
steps:
- name: Checkout project
- uses: actions/checkout@v3.3.0
+ uses: actions/checkout@v4.1.1
with:
submodules: recursive
@@ -71,7 +71,7 @@ jobs:
continue-on-error: true
- name: Set up Python
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5.0.0
with:
python-version: "3.x"
@@ -105,21 +105,21 @@ jobs:
Remove-Item bin/* -Include *.exp,*.pdb -Force
- name: Upload library artifact
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4.3.0
with:
- name: ${{ github.event.repository.name }}-library
+ name: ${{ github.event.repository.name }}-${{ matrix.identifier }}-library
path: |
${{ github.workspace }}/bin/libopenvic-simulation.*
- name: Upload executable artifact
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4.3.0
with:
- name: ${{ github.event.repository.name }}-executable
+ name: ${{ github.event.repository.name }}-${{ matrix.identifier }}-executable
path: |
${{ github.workspace }}/bin/openvic-simulation.headless.*
- name: Archive Release
- uses: thedoctor0/zip-release@0.7.1
+ uses: thedoctor0/zip-release@0.7.6
with:
type: "zip"
filename: "../../../libopenvic-simulation.${{ matrix.platform }}.${{ matrix.arch }}.zip"
@@ -127,7 +127,7 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
- name: Create and upload asset
- uses: ncipollo/release-action@v1
+ uses: ncipollo/release-action@v1.13.0
with:
allowUpdates: true
artifacts: "libopenvic-simulation.${{ matrix.platform }}.${{ matrix.arch }}.zip"
@@ -135,3 +135,15 @@ jobs:
omitBodyDuringUpdate: true
token: ${{ secrets.GITHUB_TOKEN }}
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
+
+ merge-library-files:
+ runs-on: ubuntu-latest
+ needs: build
+ name: 📚 Merge Library Files
+ steps:
+ - name: Merge Artifacts
+ uses: actions/upload-artifact/merge@v4.3.0
+ with:
+ delete-merged: true
+ name: ${{ github.event.repository.name }}-library
+ pattern: ${{ github.event.repository.name }}-*-library
diff --git a/deps/lexy-vdf b/deps/lexy-vdf
-Subproject db8e1bf91216bb9c0224e337668f88797a36aa8
+Subproject dbe24a241645eb9cc22de96136c1f0a2d6019af
diff --git a/deps/openvic-dataloader b/deps/openvic-dataloader
-Subproject 6f8da0e05642dbeb50d201af18123c12d750d92
+Subproject 9f06c13977efce7d0dd0a849a1b3611ebdab645