Skip to content

Commit

Permalink
Last change should upload correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-manley committed Nov 2, 2023
1 parent 6ba1b02 commit 33a4bc6
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 9 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,15 @@ jobs:
if: runner.os == 'Windows'
shell: msys2 {0}
run: |
export INSTALL_PREFIX=$(pwd)/dist
export INSTALL_PREFIX=$(pwd)/dist
export ARTIFACTSDIR=$(pwd)/artifacts
mkdir -p $ARTIFACTSDIR
cd temp/build
ninja install
cd $INSTALL_PREFIX
ntldd -R "bin/pcem.exe" | sed -e 's/^[[:blank:]]*//g' | cut -d ' ' -f 3 | grep -E -i '(mingw|clang)(32|64)' | sed -e 's|\\|/|g' | xargs cp --target-directory="bin"
zip -r -9 ${{ matrix.artifacts_path }} *
cp ${{ matrix.artifacts_path }} $ARTIFACTSDIR
- name: prepare-package (Linux)
if: runner.os == 'Linux'
Expand All @@ -148,16 +151,19 @@ jobs:
if: runner.os == 'Linux'
run: |
export DESTDIR=$(pwd)/dist
export ARTIFACTSDIR=$(pwd)/artifacts
mkdir -p $ARTIFACTSDIR
cd temp/build
ninja install
cd $DESTDIR
tar -cjf ${{ matrix.artifacts_path }} *
cp ${{ matrix.artifacts_path }} $ARTIFACTSDIR
- name: "Upload GitHub Actions artifacts"
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.artifacts_name }}
path: ./dist/${{ matrix.artifacts_path }}
path: ./artifacts

- name: Upload to NasuTek MinIO S3
uses: shallwefootball/s3-upload-action@master
Expand All @@ -166,6 +172,6 @@ jobs:
aws_key_id: ${{secrets.nte_cdn_s3_key_id}}
aws_secret_access_key: ${{secrets.nte_cdn_s3_secret_access_key}}
aws_bucket: pcem-dev-builds
source_dir: ./dist/${{ matrix.artifacts_path }}
source_dir: ./artifacts
destination_dir: ''
endpoint: https://cdn.ntgecdn.com:443
10 changes: 8 additions & 2 deletions .github/workflows/test-debug-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,14 @@ jobs:
shell: msys2 {0}
run: |
export INSTALL_PREFIX=$(pwd)/dist
export ARTIFACTSDIR=$(pwd)/artifacts
mkdir -p $ARTIFACTSDIR
cd temp/build
ninja install
cd $INSTALL_PREFIX
ntldd -R "bin/pcem.exe" | sed -e 's/^[[:blank:]]*//g' | cut -d ' ' -f 3 | grep -E -i '(mingw|clang)(32|64)' | sed -e 's|\\|/|g' | xargs cp --target-directory="bin"
zip -r -9 ${{ matrix.artifacts_path }} *
cp ${{ matrix.artifacts_path }} $ARTIFACTSDIR
- name: prepare-package (Linux)
if: runner.os == 'Linux'
Expand All @@ -145,16 +148,19 @@ jobs:
if: runner.os == 'Linux'
run: |
export DESTDIR=$(pwd)/dist
export ARTIFACTSDIR=$(pwd)/artifacts
mkdir -p $ARTIFACTSDIR
cd temp/build
ninja install
cd $DESTDIR
tar -cjf ${{ matrix.artifacts_path }} *
cp ${{ matrix.artifacts_path }} $ARTIFACTSDIR
- name: 'Upload GitHub Actions artifacts'
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.artifacts_name }}
path: ./dist/${{ matrix.artifacts_path }}
path: ./artifacts

- name: Upload to NasuTek MinIO S3
uses: shallwefootball/s3-upload-action@master
Expand All @@ -163,6 +169,6 @@ jobs:
aws_key_id: ${{secrets.nte_cdn_s3_key_id}}
aws_secret_access_key: ${{secrets.nte_cdn_s3_secret_access_key}}
aws_bucket: pcem-dev-builds
source_dir: ./dist/${{ matrix.artifacts_path }}
source_dir: ./artifacts
destination_dir: ''
endpoint: https://cdn.ntgecdn.com:443
10 changes: 8 additions & 2 deletions .github/workflows/test-release-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,14 @@ jobs:
shell: msys2 {0}
run: |
export INSTALL_PREFIX=$(pwd)/dist
export ARTIFACTSDIR=$(pwd)/artifacts
mkdir -p $ARTIFACTSDIR
cd temp/build
ninja install
cd $INSTALL_PREFIX
ntldd -R "bin/pcem.exe" | sed -e 's/^[[:blank:]]*//g' | cut -d ' ' -f 3 | grep -E -i '(mingw|clang)(32|64)' | sed -e 's|\\|/|g' | xargs cp --target-directory="bin"
zip -r -9 ${{ matrix.artifacts_path }} *
cp ${{ matrix.artifacts_path }} $ARTIFACTSDIR
- name: prepare-package (Linux)
if: runner.os == 'Linux'
Expand All @@ -145,16 +148,19 @@ jobs:
if: runner.os == 'Linux'
run: |
export DESTDIR=$(pwd)/dist
export ARTIFACTSDIR=$(pwd)/artifacts
mkdir -p $ARTIFACTSDIR
cd temp/build
ninja install
cd $DESTDIR
tar -cjf ${{ matrix.artifacts_path }} *
cp ${{ matrix.artifacts_path }} $ARTIFACTSDIR
- name: 'Upload GitHub Actions artifacts'
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.artifacts_name }}
path: ./dist/${{ matrix.artifacts_path }}
path: ./artifacts

- name: Upload to NasuTek MinIO S3
uses: shallwefootball/s3-upload-action@master
Expand All @@ -163,6 +169,6 @@ jobs:
aws_key_id: ${{secrets.nte_cdn_s3_key_id}}
aws_secret_access_key: ${{secrets.nte_cdn_s3_secret_access_key}}
aws_bucket: pcem-dev-builds
source_dir: ./dist/${{ matrix.artifacts_path }}
source_dir: ./artifacts
destination_dir: ''
endpoint: https://cdn.ntgecdn.com:443
10 changes: 8 additions & 2 deletions .github/workflows/test-relwithdebinfo-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,14 @@ jobs:
shell: msys2 {0}
run: |
export INSTALL_PREFIX=$(pwd)/dist
export ARTIFACTSDIR=$(pwd)/artifacts
mkdir -p $ARTIFACTSDIR
cd temp/build
ninja install
cd $INSTALL_PREFIX
ntldd -R "bin/pcem.exe" | sed -e 's/^[[:blank:]]*//g' | cut -d ' ' -f 3 | grep -E -i '(mingw|clang)(32|64)' | sed -e 's|\\|/|g' | xargs cp --target-directory="bin"
zip -r -9 ${{ matrix.artifacts_path }} *
cp ${{ matrix.artifacts_path }} $ARTIFACTSDIR
- name: prepare-package (Linux)
if: runner.os == 'Linux'
Expand All @@ -145,16 +148,19 @@ jobs:
if: runner.os == 'Linux'
run: |
export DESTDIR=$(pwd)/dist
export ARTIFACTSDIR=$(pwd)/artifacts
mkdir -p $ARTIFACTSDIR
cd temp/build
ninja install
cd $DESTDIR
tar -cjf ${{ matrix.artifacts_path }} *
cp ${{ matrix.artifacts_path }} $ARTIFACTSDIR
- name: 'Upload GitHub Actions artifacts'
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.artifacts_name }}
path: ./dist/${{ matrix.artifacts_path }}
path: ./artifacts

- name: Upload to NasuTek MinIO S3
uses: shallwefootball/s3-upload-action@master
Expand All @@ -163,6 +169,6 @@ jobs:
aws_key_id: ${{secrets.nte_cdn_s3_key_id}}
aws_secret_access_key: ${{secrets.nte_cdn_s3_secret_access_key}}
aws_bucket: pcem-dev-builds
source_dir: ./dist/${{ matrix.artifacts_path }}
source_dir: ./artifacts
destination_dir: ''
endpoint: https://cdn.ntgecdn.com:443

0 comments on commit 33a4bc6

Please sign in to comment.