Skip to content

Commit

Permalink
Update github snapshot release on build
Browse files Browse the repository at this point in the history
  • Loading branch information
alanwoolley committed Aug 5, 2023
1 parent cc5acf9 commit c9b6af3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build_and_sign.yml
Expand Up @@ -49,4 +49,16 @@ jobs:
uses: actions/upload-artifact@v3.1.2
with:
name: APK
path: build/outputs/apk/release/*
path: build/outputs/apk/release/*
- name: Set version variables
run: |
VER=$(cat version.txt)
echo "VERSION=$VER" >> $GITHUB_ENV
- name: Update snapshot release
uses: johnwbyrd/update-release@v1
if: github.ref == 'refs/heads/dev'
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: build/outputs/apk/release/* README.md
prerelease: true
release: ${{ env.VERSION }}
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -53,3 +53,4 @@ fabric.properties

.externalNativeBuild
*.jks
version.txt

0 comments on commit c9b6af3

Please sign in to comment.