-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'lukas/gh/maint-26' into maint
* lukas/gh/maint-26: gh: Remove bugs github project Update GitHub Action Versions
- Loading branch information
Showing
8 changed files
with
42 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,12 +14,12 @@ jobs: | |
steps: | ||
- name: Generate token | ||
id: generate_token | ||
uses: actions/create-github-app-token@v1.9.3 | ||
uses: actions/create-github-app-token@v1.10.3 | ||
with: | ||
app-id: ${{ secrets.APP_ID }} | ||
private-key: ${{ secrets.APP_PEM }} | ||
|
||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
with: | ||
token: ${{ steps.generate_token.outputs.token }} | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
c-code-changes: ${{ steps.c-code-changes.outputs.changes }} | ||
all: ${{ steps.apps.outputs.all }} | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
- uses: ./.github/actions/build-base-image | ||
with: | ||
BASE_BRANCH: ${{ env.BASE_BRANCH }} | ||
|
@@ -95,7 +95,7 @@ jobs: | |
- name: Create initial pre-release tar | ||
run: .github/scripts/init-pre-release.sh otp_archive.tar.gz otp_src.tar.gz | ||
- name: Upload source tar archive | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: otp_git_archive | ||
path: otp_archive.tar.gz | ||
|
@@ -139,7 +139,7 @@ jobs: | |
"`pwd`/.github/otp.tar.gz" \ | ||
"`pwd`/otp_archive.tar.gz" | ||
- name: Upload restored cache | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
if: runner.debug == 1 | ||
with: | ||
name: restored-cache | ||
|
@@ -166,7 +166,7 @@ jobs: | |
bash -c 'set -x; C_APPS=$(ls -d ./lib/*/c_src); find Makefile ./make ./erts ./bin/`erts/autoconf/config.guess` ./lib/erl_interface ./lib/jinterface ${C_APPS} `echo "${C_APPS}" | sed -e 's:c_src$:priv:'` -type f -newer README.md \! -name "*.beam" \! -path "*/doc/*" | xargs tar --transform "s:^./:otp/:" -uvf /github/otp_cache.tar' | ||
gzip otp_cache.tar | ||
- name: Upload pre-built tar archives | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: otp_prebuilt | ||
path: | | ||
|
@@ -181,10 +181,10 @@ jobs: | |
env: | ||
WXWIDGETS_VERSION: 3.1.5 | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
|
||
- name: Download source archive | ||
uses: actions/[email protected].7 | ||
uses: actions/[email protected].8 | ||
with: | ||
name: otp_prebuilt | ||
|
||
|
@@ -216,7 +216,7 @@ jobs: | |
./bin/erl -noshell -eval '{wx_ref,_,_,_} = wx:new(), io:format("wx ok~n"), halt().' | ||
- name: Upload tarball | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: otp_prebuilt_macos_x86-64 | ||
path: otp/otp_macos_*_x86-64.tar.gz | ||
|
@@ -229,9 +229,9 @@ jobs: | |
runs-on: macos-12 | ||
needs: pack | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
- name: Download source archive | ||
uses: actions/[email protected].7 | ||
uses: actions/[email protected].8 | ||
with: | ||
name: otp_prebuilt | ||
|
||
|
@@ -250,7 +250,7 @@ jobs: | |
xcodebuild -create-xcframework -output ./liberlang.xcframework -library liberlang.a | ||
- name: Upload framework | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: ios_framework_${{ env.TARGET_ARCH }} | ||
path: otp/liberlang.xcframework | ||
|
@@ -266,7 +266,7 @@ jobs: | |
needs: pack | ||
if: needs.pack.outputs.c-code-changes | ||
steps: | ||
- uses: Vampire/setup-wsl@v3.0.0 | ||
- uses: Vampire/setup-wsl@v3.1.1 | ||
with: | ||
distribution: Ubuntu-18.04 | ||
|
||
|
@@ -322,7 +322,7 @@ jobs: | |
nmake TARGET_CPU=amd64 BUILD=release SHARED=0 DIR_SUFFIX_CPU= -f makefile.vc | ||
- name: Download source archive | ||
uses: actions/[email protected].7 | ||
uses: actions/[email protected].8 | ||
with: | ||
name: otp_prebuilt | ||
|
||
|
@@ -350,7 +350,7 @@ jobs: | |
./otp_build installer_win32 | ||
- name: Upload installer | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: otp_win32_installer | ||
path: otp/release/win32/otp*.exe | ||
|
@@ -362,7 +362,7 @@ jobs: | |
if: needs.pack.outputs.c-code-changes | ||
|
||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
- uses: ./.github/actions/build-base-image | ||
with: | ||
BASE_BRANCH: ${{ env.BASE_BRANCH }} | ||
|
@@ -390,7 +390,7 @@ jobs: | |
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
- uses: ./.github/actions/build-base-image | ||
with: | ||
BASE_BRANCH: ${{ env.BASE_BRANCH }} | ||
|
@@ -401,7 +401,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: pack | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
- uses: ./.github/actions/build-base-image | ||
with: | ||
BASE_BRANCH: ${{ env.BASE_BRANCH }} | ||
|
@@ -423,7 +423,7 @@ jobs: | |
- name: Release docs to publish | ||
run: .github/scripts/release-docs.sh | ||
- name: Upload html documentation archive | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: otp_doc_html | ||
path: otp_doc_html.tar.gz | ||
|
@@ -446,7 +446,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: pack | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
- uses: ./.github/actions/build-base-image | ||
with: | ||
BASE_BRANCH: ${{ env.BASE_BRANCH }} | ||
|
@@ -475,7 +475,7 @@ jobs: | |
# type: ["os_mon","sasl"] | ||
fail-fast: false | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
- uses: ./.github/actions/build-base-image | ||
with: | ||
BASE_BRANCH: ${{ env.BASE_BRANCH }} | ||
|
@@ -512,7 +512,7 @@ jobs: | |
sudo bash -c "chown -R `whoami` make_test_dir && chmod -R +r make_test_dir" | ||
tar czf ${{ matrix.type }}_test_results.tar.gz make_test_dir | ||
- name: Upload test results | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
if: ${{ !cancelled() }} | ||
with: | ||
name: ${{ matrix.type }}_test_results | ||
|
@@ -524,12 +524,12 @@ jobs: | |
if: ${{ !cancelled() }} # Run even if the need has failed | ||
needs: test | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
- uses: ./.github/actions/build-base-image | ||
with: | ||
BASE_BRANCH: ${{ env.BASE_BRANCH }} | ||
- name: Download test results | ||
uses: actions/[email protected].7 | ||
uses: actions/[email protected].8 | ||
- name: Merge test results | ||
run: | | ||
shopt -s nullglob | ||
|
@@ -559,14 +559,14 @@ jobs: | |
-e 's:\(file="erts/\)make_test_dir/[^/]*:\1test:g' \ | ||
make_test_dir/*_junit.xml | ||
- name: Upload test results | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
if: ${{ !cancelled() }} | ||
with: | ||
name: test_results | ||
path: test_results.tar.gz | ||
- name: Upload Test Results | ||
if: ${{ !cancelled() }} | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: Unit Test Results | ||
path: | | ||
|
@@ -593,15 +593,15 @@ jobs: | |
echo "tag=${TAG}" >> $GITHUB_OUTPUT | ||
echo "vsn=${VSN}" >> $GITHUB_OUTPUT | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
|
||
## Publish the pre-built archive and docs | ||
- name: Download source archive | ||
uses: actions/[email protected].7 | ||
uses: actions/[email protected].8 | ||
with: | ||
name: otp_prebuilt | ||
- name: Download html docs | ||
uses: actions/[email protected].7 | ||
uses: actions/[email protected].8 | ||
with: | ||
name: otp_doc_html | ||
- name: Download man docs | ||
|
@@ -624,7 +624,7 @@ jobs: | |
sha256sum $FILES > SHA256.txt | ||
- name: Upload pre-built and doc tar archives | ||
uses: softprops/[email protected].4 | ||
uses: softprops/[email protected].8 | ||
with: | ||
name: OTP ${{ steps.tag.outputs.vsn }} | ||
files: | | ||
|
@@ -643,7 +643,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Upload | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: Event File | ||
path: ${{ github.event_path }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
outputs: | ||
result: ${{ steps.pr-number.outputs.result }} | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
- name: Fetch PR number | ||
id: pr-number | ||
env: | ||
|
@@ -40,7 +40,7 @@ jobs: | |
pull-requests: write | ||
if: github.event.action == 'requested' && needs.pr-number.outputs.result != '' | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
## We create an initial comment with some useful help to the user | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -63,7 +63,7 @@ jobs: | |
needs.pr-number.outputs.result != '' && | ||
github.event.workflow_run.conclusion != 'skipped' | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
- name: Download and Extract Artifacts | ||
id: extract | ||
env: | ||
|
@@ -88,14 +88,14 @@ jobs: | |
echo "HAS_TEST_ARTIFACTS=false" >> $GITHUB_OUTPUT | ||
fi | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
with: | ||
token: ${{ secrets.ERLANG_TOKEN }} | ||
repository: 'erlang/erlang.github.io' | ||
path: erlang.github.io | ||
|
||
- name: Publish CT Test Results | ||
uses: EnricoMi/publish-unit-test-result-action@v2.16.1 | ||
uses: EnricoMi/publish-unit-test-result-action@v2.17.0 | ||
if: steps.extract.outputs.HAS_TEST_ARTIFACTS == 'true' | ||
with: | ||
commit: ${{ github.event.workflow_run.head_sha }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,8 @@ jobs: | |
concurrency: erlang.github.io-deploy | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
- uses: actions/[email protected].7 | ||
with: | ||
token: ${{ secrets.ERLANG_TOKEN }} | ||
repository: 'erlang/erlang.github.io' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
concurrency: sync-github-releases | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
## We need to login to the package registry in order to pull | ||
## the base debian image. | ||
- name: Docker login | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,14 +26,14 @@ jobs: | |
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].7 | ||
with: | ||
ref: ${{ matrix.branch }} | ||
- name: Cleanup GH Runner | ||
shell: bash | ||
run: .github/scripts/cleanup_gh_runner.sh | ||
- name: Docker login | ||
uses: docker/login-action@v3.1.0 | ||
uses: docker/login-action@v3.3.0 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
|