Skip to content

Commit 5eb3edc

Browse files
committed
Update build workflow actions
Update openvic-dataloader to OpenVicProject/OpenVic-Dataloader@9f06c13 Update lexy-vdf to OpenVicProject/lexy-vdf@dbe24a2
1 parent 41fdfe9 commit 5eb3edc

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

.github/workflows/builds.yml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959

6060
steps:
6161
- name: Checkout project
62-
uses: actions/checkout@v3.3.0
62+
uses: actions/checkout@v4.1.1
6363
with:
6464
submodules: recursive
6565

@@ -71,7 +71,7 @@ jobs:
7171
continue-on-error: true
7272

7373
- name: Set up Python
74-
uses: actions/setup-python@v4
74+
uses: actions/setup-python@v5.0.0
7575
with:
7676
python-version: "3.x"
7777

@@ -105,33 +105,45 @@ jobs:
105105
Remove-Item bin/* -Include *.exp,*.pdb -Force
106106
107107
- name: Upload library artifact
108-
uses: actions/upload-artifact@v3
108+
uses: actions/upload-artifact@v4.3.0
109109
with:
110-
name: ${{ github.event.repository.name }}-library
110+
name: ${{ github.event.repository.name }}-${{ matrix.identifier }}-library
111111
path: |
112112
${{ github.workspace }}/bin/libopenvic-simulation.*
113113
114114
- name: Upload executable artifact
115-
uses: actions/upload-artifact@v3
115+
uses: actions/upload-artifact@v4.3.0
116116
with:
117-
name: ${{ github.event.repository.name }}-executable
117+
name: ${{ github.event.repository.name }}-${{ matrix.identifier }}-executable
118118
path: |
119119
${{ github.workspace }}/bin/openvic-simulation.headless.*
120120
121121
- name: Archive Release
122-
uses: thedoctor0/[email protected].1
122+
uses: thedoctor0/[email protected].6
123123
with:
124124
type: "zip"
125125
filename: "../../../libopenvic-simulation.${{ matrix.platform }}.${{ matrix.arch }}.zip"
126126
directory: "${{ github.workspace }}/bin/"
127127
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
128128

129129
- name: Create and upload asset
130-
uses: ncipollo/release-action@v1
130+
uses: ncipollo/release-action@v1.13.0
131131
with:
132132
allowUpdates: true
133133
artifacts: "libopenvic-simulation.${{ matrix.platform }}.${{ matrix.arch }}.zip"
134134
omitNameDuringUpdate: true
135135
omitBodyDuringUpdate: true
136136
token: ${{ secrets.GITHUB_TOKEN }}
137137
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
138+
139+
merge-library-files:
140+
runs-on: ubuntu-latest
141+
needs: build
142+
name: 📚 Merge Library Files
143+
steps:
144+
- name: Merge Artifacts
145+
uses: actions/upload-artifact/[email protected]
146+
with:
147+
delete-merged: true
148+
name: ${{ github.event.repository.name }}-library
149+
pattern: ${{ github.event.repository.name }}-*-library

deps/lexy-vdf

deps/openvic-dataloader

0 commit comments

Comments
 (0)