Skip to content

Commit

Permalink
Merge pull request #58 from l-monninger/main
Browse files Browse the repository at this point in the history
[CI] fix internal repo access.
  • Loading branch information
l-monninger authored Oct 6, 2023
2 parents 2541aa1 + 3fe89fb commit 15d932f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v2
with:
submodules: 'recursive'
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.CI_PAT }}

- name: Setup
uses: ./.github/actions/setup-linux-x86_64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v2
with:
submodules: 'recursive'
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.CI_PAT }}

- name: Set up Rust
uses: actions-rs/toolchain@v1
Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
uses: actions/checkout@v2
with:
submodules: 'recursive'
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.CI_PAT }}
- name: Bump version and push tag
id: create_tag
uses: anothrNick/[email protected] # Don't use @master or @v1 unless you're happy to test the latest version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # if you don't want to set write permissions use a PAT token
GITHUB_token: ${{ secrets.CI_PAT }} # if you don't want to set write permissions use a PAT token
WITH_V: false
DEFAULT_BUMP: patch

Expand All @@ -43,7 +43,7 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
GITHUB_token: ${{ secrets.CI_PAT }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ steps.create_tag.outputs.tag }}
release_name: Release ${{ steps.create_tag.outputs.tag }}
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_token: ${{ secrets.CI_PAT }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./m1-with-submodules.tar.gz
Expand All @@ -71,7 +71,7 @@ jobs:
uses: actions/checkout@v2
with:
submodules: 'recursive'
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.CI_PAT }}

- name: Setup
uses: ./.github/actions/setup-linux-x86_64
Expand All @@ -91,7 +91,7 @@ jobs:
- name: Upload subnet
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_token: ${{ secrets.CI_PAT }}
with:
upload_url: ${{ needs.prepare-release.outputs.release_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this reference for more info: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsid
asset_path: ./m1/target/release/subnet
Expand All @@ -101,7 +101,7 @@ jobs:
- name: Upload movement
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_token: ${{ secrets.CI_PAT }}
with:
upload_url: ${{ needs.prepare-release.outputs.release_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this reference for more info: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsid
asset_path: ./m1/target/release/movement
Expand All @@ -119,7 +119,7 @@ jobs:
uses: actions/checkout@v2
with:
submodules: 'recursive'
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.CI_PAT }}

- name: Install Dependencies
run: |
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
- name: Upload subnet
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_token: ${{ secrets.CI_PAT }}
with:
upload_url: ${{ needs.prepare-release.outputs.release_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this reference for more info: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsid
asset_path: ./m1/target/release/subnet
Expand All @@ -159,7 +159,7 @@ jobs:
- name: Upload movement
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_token: ${{ secrets.CI_PAT }}
with:
upload_url: ${{ needs.prepare-release.outputs.release_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this reference for more info: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsid
asset_path: ./m1/target/release/movement
Expand All @@ -177,7 +177,7 @@ jobs:
uses: actions/checkout@v2
with:
submodules: 'recursive'
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.CI_PAT }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand All @@ -196,7 +196,7 @@ jobs:
- name: Upload subnet
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_token: ${{ secrets.CI_PAT }}
with:
upload_url: ${{ needs.prepare-release.outputs.release_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this reference for more info: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsid
asset_path: ./subnet-aarch64-linux
Expand All @@ -206,7 +206,7 @@ jobs:
- name: Upload movement
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_token: ${{ secrets.CI_PAT }}
with:
upload_url: ${{ needs.prepare-release.outputs.release_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this reference for more info: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsid
asset_path: ./movement-aarch64-linux
Expand All @@ -224,7 +224,7 @@ jobs:
uses: actions/checkout@v2
with:
submodules: 'recursive'
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.CI_PAT }}

- name: Install oxcross
run: |
Expand All @@ -249,7 +249,7 @@ jobs:
- name: Upload subnet
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_token: ${{ secrets.CI_PAT }}
with:
upload_url: ${{ needs.prepare-release.outputs.release_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this reference for more info: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsid
asset_path: ./m1/target/release/subnet
Expand All @@ -259,7 +259,7 @@ jobs:
- name: Upload movement
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_token: ${{ secrets.CI_PAT }}
with:
upload_url: ${{ needs.prepare-release.outputs.release_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this reference for more info: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsid
asset_path: ./m1/target/release/movement
Expand All @@ -277,7 +277,7 @@ jobs:
uses: actions/checkout@v2
with:
submodules: 'recursive'
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.CI_PAT }}

- name: Add mingw
run: apt-get install -y mingw-w64
Expand All @@ -297,7 +297,7 @@ jobs:
- name: Upload subnet
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_token: ${{ secrets.CI_PAT }}
with:
upload_url: ${{ needs.prepare-release.outputs.release_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this reference for more info: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsid
asset_path: ./m1/target/release/subnet
Expand All @@ -307,7 +307,7 @@ jobs:
- name: Upload movement
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_token: ${{ secrets.CI_PAT }}
with:
upload_url: ${{ needs.prepare-release.outputs.release_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this reference for more info: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsid
asset_path: ./m1/target/release/movement
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ cmd/simulator/simulator-keys-temp/*
.viewer/
.searcher/
.replayer/
tokens

0 comments on commit 15d932f

Please sign in to comment.