Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
kirre-bylund authored Oct 31, 2024
1 parent e3510da commit f6845b0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/selfhosted-poc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
ping-stage-test:
name: Ping stage backend
if: false
runs-on: ubuntu-22.04-4-core
steps:
- name: Setup Tailscale
Expand Down Expand Up @@ -43,3 +44,27 @@ jobs:
run: |
docker login ghcr.io -u ${{ SECRETS.UNREAL_DOCKER_PACKAGES_READ_USERNAME }} -p ${{ SECRETS.UNREAL_DOCKER_PACKAGES_READ_ACCESS_TOKEN }}
docker pull ghcr.io/epicgames/unreal-engine:dev-5.4
package-sdk:
name: Package SDK
runs-on: ubuntu-latest
steps:
- name: Setup git
run: |
git config --global --add safe.directory /__w/unreal-sdk/unreal-sdk
- name: Checkout this repository
uses: actions/checkout@v4

- name: PWD and Cat
run: |
pwd
ls -als
- name: Package SDK
if: false
run: |
SDK_NAME=`find "$SDK_PATH" -type f -name "*.uplugin" | sed -n -r "s/.*\/([-A-Za-z0-9_]+)\.uplugin/\1/p"`
PACKAGE_NAME="LootLockerSDKv${SDK_VERSION}_for_Unreal_Engine_$UNREAL_INSTALLATIONS_TAGS[i].zip"
tar -a -cf "$CURRENT_PACKAGE_DIR/$PACKAGE_NAME" -C "$CURRENT_BUILD_DIR/Source" "$SDK_NAME"
echo " Package $PACKAGE_NAME produced to path $CURRENT_PACKAGE_DIR"

0 comments on commit f6845b0

Please sign in to comment.