Skip to content

Commit 24ecbc3

Browse files
committed
[TorchSim] Fix for public version
1 parent 93f1a13 commit 24ecbc3

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/build-torchsim.yaml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ jobs:
99
build:
1010
runs-on: self-hosted
1111
permissions:
12-
contents: read
13-
id-token: write
12+
contents: write
1413

1514
steps:
1615
- name: Pull Gem5 Prebuilt Dependency Image
@@ -25,7 +24,7 @@ jobs:
2524

2625
- name: Build LLVM
2726
run: |
28-
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace \
27+
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace/llvm-project \
2928
ghcr.io/gem5/ubuntu-22.04_all-dependencies:latest \
3029
bash -c "
3130
mkdir -p build && cd build &&
@@ -35,20 +34,14 @@ jobs:
3534
- name: Archive Build Artifacts
3635
run: tar -czvf riscv-llvm-release.tar.gz riscv-llvm
3736

38-
- name: Create Release
39-
id: create_release
37+
- name: Create Release and Upload Assets
4038
uses: softprops/action-gh-release@v1
4139
with:
4240
tag_name: ${{ github.ref }}
4341
name: Release ${{ github.ref }}
4442
draft: false
4543
prerelease: false
4644

47-
- name: Upload Release Assets
48-
uses: softprops/action-gh-release@v1
49-
with:
50-
files: riscv-llvm-release.tar.gz
51-
5245
trigger:
5346
name: Trigger build base image
5447
runs-on: ubuntu-latest
@@ -57,4 +50,4 @@ jobs:
5750
- name: Trigger building base iamge
5851
run: gh api /repos/PSAL-POSTECH/PyTorchSim/dispatches -f event_type='build_base'
5952
env:
60-
GITHUB_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }}
53+
GH_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)