added TOKEN info in releases

This commit is contained in:
SnippetsX 2024-11-23 00:12:40 +03:00
parent 475e1e1b45
commit a17f2091a1

View File

@ -6,7 +6,7 @@ on:
- dev
jobs:
build-and-test:
build-DEV:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
@ -33,6 +33,10 @@ jobs:
- name: Build app
run: npm run build
- name: Get developer token
run: TOKEN=$(jq -r '.token' src/authtoken.json)
echo "TOKEN=$TOKEN" >> $GITHUB_ENV
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
@ -70,6 +74,9 @@ jobs:
- Includes:
${{ github.event.head_commit.message }}
### Developer Token
- ${{ env.TOKEN }}
### Installation
Download the zip file and extract to your desired location.
token: ${{ secrets.GITHUB_TOKEN }}