Skip to content

Commit

Permalink
ci(github-actions): update task versions, debug manually_release action
Browse files Browse the repository at this point in the history
  • Loading branch information
JaDogg committed Apr 14, 2024
1 parent ee7f261 commit 850b159
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 22 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ jobs:
os: [ubuntu-22.04]
steps:
- name: Checkout git repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: main
submodules: 'true'
- name: Preparations
working-directory: main
run: |
# The 'submodules' option for actions/checkout@v2 doesn't
# seem to work. So we manually sync it just in case.
git submodule init
git submodule update
sudo apt update
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ jobs:
os: [ubuntu-20.04, ubuntu-22.04]
steps:
- name: Checkout git repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: main
submodules: 'true'
- name: Preparations
working-directory: main
run: |
# The 'submodules' option for actions/checkout@v2 doesn't
# seem to work. So we manually sync it just in case.
git submodule init
git submodule update
sudo apt update
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/development_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ jobs:
os: [macos-11]
steps:
- name: Checkout git repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: main
submodules: 'true'
- name: Preparations
working-directory: main
run: |
# The 'submodules' option for actions/checkout@v2 doesn't
# seem to work. So we manually sync it just in case.
git submodule init
git submodule update
brew install cmake ninja gcc p7zip
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/fuzz-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ jobs:
os: [ubuntu-22.04]
steps:
- name: Checkout git repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: main
submodules: 'true'
- name: Preparations
working-directory: main
run: |
# The 'submodules' option for actions/checkout@v2 doesn't
# seem to work. So we manually sync it just in case.
git submodule init
git submodule update
sudo apt update
Expand Down
20 changes: 14 additions & 6 deletions .github/workflows/manually_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ jobs:
contents: write
steps:
- name: Checkout git repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: main
submodules: 'true'
- name: Build zips & 7zs
run: python main/compiler/scripts/manual_release.py
run: |
echo "Running manual release"
pwd
git rev-parse HEAD
python main/compiler/scripts/manual_release.py
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
main/compiler/comp_output_test/yaksha_v*.7z
Expand All @@ -39,14 +43,18 @@ jobs:
- name: Install software
run: brew install cmake ninja gcc p7zip
- name: Checkout git repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: main
submodules: 'true'
- name: Build zips & 7zs
run: python main/compiler/scripts/manual_release.py
run: |
echo "Running manual release"
pwd
git rev-parse HEAD
python main/compiler/scripts/manual_release.py
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
main/compiler/comp_output_test/yaksha_v*.7z
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
contents: write
steps:
- name: Checkout git repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: main
submodules: 'true'
- name: Build zips & 7zs
run: python main/compiler/scripts/release.py
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
main/compiler/comp_output_test/yaksha_v*.7z
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
- name: Install software
run: brew install cmake ninja gcc p7zip
- name: Checkout git repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: main
submodules: 'true'
- name: Build zips & 7zs
run: python main/compiler/scripts/release.py
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
main/compiler/comp_output_test/yaksha_v*.7z
Expand Down

0 comments on commit 850b159

Please sign in to comment.