Skip to content

Commit

Permalink
change access token
Browse files Browse the repository at this point in the history
  • Loading branch information
llbartekll committed Sep 20, 2024
1 parent f247251 commit be6aa39
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ env:
CARGO_TERM_COLOR: always
SKIP_RELEASE: true
TARGET_BRANCH: ${{ github.head_ref }} # ${{ github.head_ref || 'main' }}

permissions:
contents: write

jobs:
release-swift-package:
Expand Down Expand Up @@ -49,7 +52,7 @@ jobs:
- name: Commit and Push Package.swift
if: ${{ env.SKIP_RELEASE != 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
Expand All @@ -63,7 +66,7 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.event.inputs.version }}-test
release_name: Yttrium ${{ github.event.inputs.version }}-test
Expand All @@ -74,7 +77,7 @@ jobs:
if: ${{ env.SKIP_RELEASE != 'true' }}
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./Output/RustXcframework.xcframework.zip
Expand Down

0 comments on commit be6aa39

Please sign in to comment.