Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
path: ${{ github.workspace }}/.ccache
key: centos7-on-${{ runner.os }}-${{ github.ref_name }}
restore-keys: |
centos7-on-${{ runner.os }}-
centos7-on-${{ runner.os }}-

- name: Configure ccache
run: |
Expand All @@ -135,7 +135,7 @@ jobs:
- name: create a container without starting it && retrieve the .tgz
run: |
container_id=$(docker create antares:centos7)
docker cp $container_id:/workspace/Antares_Simulator/_build/archive archive
docker cp $container_id:/workspace/Antares_Simulator/_build/archive archive
docker cp $container_id:/workspace/vcpkg_cache ${{ env.VCPKG_CACHE_DIR }}
docker cp $container_id:/workspace/.ccache/. .ccache
ls -la .ccache
Expand All @@ -156,7 +156,7 @@ jobs:
gh release upload "$tag" archive/*.tar.gz archive/*.rpm

- name: Update continuous-delivery release
if: github.ref == 'refs/heads/develop'
if: github.ref == 'refs/heads/develop' && env.IS_RELEASE != 'true'
env:
GH_TOKEN: ${{ github.token }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/oracle8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
gh release upload "$tag" _build/*.tar.gz _build/*.rpm

- name: Update continuous-delivery release
if: github.ref == 'refs/heads/develop'
if: github.ref == 'refs/heads/develop' && env.IS_RELEASE != 'true'
env:
GH_TOKEN: ${{ github.token }}
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
path: ${{ github.workspace }}/.ccache_ubuntu
key: ${{ env.os }}-${{ github.ref_name }}
restore-keys: |
${{ env.os }}-
${{ env.os }}-

- name: Configure ccache
run: |
Expand Down Expand Up @@ -407,7 +407,7 @@ jobs:


- name: Update continuous-delivery release
if: github.ref == 'refs/heads/develop'
if: github.ref == 'refs/heads/develop' && env.IS_RELEASE != 'true'
env:
GH_TOKEN: ${{ github.token }}
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/windows-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ jobs:
path: ${{ github.workspace }}/.ccache_windows
key: ${{ env.os }}-${{ github.ref_name }}
restore-keys: |
${{ env.os }}-
${{ env.os }}-

- name: Configure ccache
run: |
ccache --set-config=cache_dir=${{ github.workspace }}/.ccache_windows
ccache --set-config=max_size=500M
ccache --set-config=compression=true
ccache -p
ccache -z
ccache -z

- name: Install VCPKG
shell: bash
Expand Down Expand Up @@ -418,12 +418,12 @@ jobs:
shell: bash

- name: Update continuous-delivery release
if: github.ref == 'refs/heads/develop'
if: github.ref == 'refs/heads/develop' && env.IS_RELEASE != 'true'
env:
GH_TOKEN: ${{ github.token }}
run: |
mv _build/rte-antares-*-installer-64bits.exe _build/rte-antares-cd-installer-64bits.exe
mv _build/rte-antares-*-installer-64bits.zip _build/rte-antares-cd-installer-64bits.zip
mv _build/antares-*-win64.exe _build/antares-cd-win64.exe
mv _build/antares-*-win64.zip _build/antares-cd-win64.zip
gh release upload --clobber continuous-delivery _build/*.zip _build/*.exe

- name: Cache vcpkg binary dir
Expand Down
Loading