From 0f07fa01c7f9ef57609fba3cdd40f52675b62b90 Mon Sep 17 00:00:00 2001 From: nishi Date: Sun, 9 Jun 2024 13:56:38 +0000 Subject: [PATCH] this should work git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@207 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bace382..19ad61f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,14 +4,14 @@ on: push: branches: [ "master" ] -env: - GH_TOKEN: ${{ github.token }} - jobs: build: runs-on: ubuntu-latest + permissions: + contents: write + steps: - uses: actions/checkout@v4 - name: Install packages @@ -22,3 +22,5 @@ jobs: run: mv dataworks.zip dataworks-linux64.zip && mv dataworks.tar.gz dataworks-linux64.tar.gz - name: release run: gh release create -t "Release $(date +"%a %b %e %H:%M:%S %Z %Y")" --generate-notes dataworks-linux64.tar.gz + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} -- 2.43.0