Skip to content

Commit

Permalink
Hacks to get release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidokert committed Apr 8, 2024
1 parent a99c34e commit 5081602
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/actions/docker/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
shell: bash
- name: Get docker file changes
id: changed-files
uses: tj-actions/changed-files@8953e851a137075e59e84b5c15fbeb3617e82f15 # v32.1.1
uses: kaidokert/changed-files@c684f86a9764f2533437c51cf25ff325d6986755 # extra logging
with:
files_ignore: third_party/**
files: |
Expand All @@ -38,7 +38,7 @@ runs:
set -x
docker_tag="${{ steps.meta.outputs.tags }}"
docker_tag="${docker_tag%.1[+,-]}"
echo "DOCKER_TAG=${docker_tag}" >> $GITHUB_ENV
echo "DOCKER_TAG=${docker_tag}" | head -n 1 >> $GITHUB_ENV
shell: bash
# We need to set docker tag properly for pull requests. In those scenarios where no docker related files
# were changed we need to use an existing image (e.g. main). In cases where docker image is rebuilt we have
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/docker_win/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
shell: bash
- name: Get docker file changes
id: changed-files
uses: tj-actions/changed-files@8953e851a137075e59e84b5c15fbeb3617e82f15 # v32.1.1
uses: kaidokert/changed-files@c684f86a9764f2533437c51cf25ff325d6986755 # extra logging
with:
files_ignore: third_party/**
files: |
Expand All @@ -33,7 +33,7 @@ runs:
set -x
docker_tag="${{ steps.meta.outputs.tags }}"
docker_tag="${docker_tag%.1[+,-]}"
echo "DOCKER_TAG=${docker_tag}" >> $GITHUB_ENV
echo "DOCKER_TAG=${docker_tag}" | head -n 1 >> $GITHUB_ENV
shell: bash
# We need to set docker tag properly for pull requests. In those scenarios where no docker related files
# were changed we need to use an existing image (e.g. main). In cases where docker image is rebuilt we have
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/android_24.lts.1+.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,11 @@ jobs:
retention-days: 90
compression-level: 0 # We expect kept artifacts to be already compressed
if-no-files-found: error
- name: Upload the APKs to a release
if: ${{ github.event_name == 'release' }}
uses: skx/github-action-publish-binaries@b9ca5643b2f1d7371a6cba7f35333f1461bbc703 # release-2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: |
.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
id: set-docker-tag-output
run: |
echo $DOCKER_TAG
echo "docker_tag=$DOCKER_TAG" >> $GITHUB_ENV
echo "docker_tag=$DOCKER_TAG" | head -n 1 >> $GITHUB_ENV
outputs:
docker_tag: ${{env.docker_tag}}

Expand Down

0 comments on commit 5081602

Please sign in to comment.