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