]> Nishi Git Mirror - dataworks.git/commitdiff
this should work
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sun, 9 Jun 2024 13:56:38 +0000 (13:56 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sun, 9 Jun 2024 13:56:38 +0000 (13:56 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@207 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

.github/workflows/build.yml

index bace3825a9fea4928bf7b9b3dcee860644c03814..19ad61fb123a2962bfe879bd9947938780e8bb5c 100644 (file)
@@ -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 }}