From: nishi Date: Sun, 9 Jun 2024 13:56:38 +0000 (+0000) Subject: this should work X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=0f07fa01c7f9ef57609fba3cdd40f52675b62b90;p=dataworks.git this should work git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@207 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- 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 }}